home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QuickTime 1.0 for Developers
/
QuickTime 1.0 for Developers.iso
/
System Stuff
/
International QuickTime™
/
French
/
QuickTime™
/
QuickTime™.rsrc
/
ptch_128_ThingManager.txt
< prev
next >
Wrap
Text File
|
1991-09-12
|
149KB
|
2,719 lines
start:
00000000 4A80 tst.l D0
00000002 6600 0160 bne +0x162 /* 00000164 */
00000006 102F 0005 move.b D0, [A7 + 0x5]
0000000A 41F7 0008 lea.l A0, [A7 + D0.w + 0x8]
0000000E 2210 move.l D1, [A0]
00000010 3001 move.w D0, D1
00000012 E988 lsl D0, 4
00000014 2278 028A movea.l A1, [0x0000028A /* RSDHndl */]
00000018 2251 movea.l A1, [A1]
0000001A D3C0 add.l A1, D0
0000001C 4841 swap.w D1
0000001E B229 0004 cmp.b D1, [A1 + 0x4]
00000022 664C bne +0x4E /* 00000070 */
00000024 2229 000C move.l D1, [A1 + 0xC]
00000028 661E bne +0x20 /* 00000048 */
0000002A 2097 move.l [A0], [A7]
0000002C 2E88 move.l [A7], A0
0000002E 594F subq.w A7, 4
00000030 486F 0008 pea.l [A7 + 0x8]
00000034 2F29 0008 move.l -[A7], [A1 + 0x8]
00000038 2251 movea.l A1, [A1]
0000003A 2251 movea.l A1, [A1]
0000003C 4E91 jsr [A1]
0000003E 201F move.l D0, [A7]+
00000040 2E57 movea.l A7, [A7]
00000042 2F40 0004 move.l [A7 + 0x4], D0
00000046 4E75 rts
label00000048:
00000048 2097 move.l [A0], [A7]
0000004A 214D 0004 move.l [A0 + 0x4], A5
0000004E 2A41 movea.l A5, D1
00000050 2E88 move.l [A7], A0
00000052 594F subq.w A7, 4
00000054 486F 0008 pea.l [A7 + 0x8]
00000058 2F29 0008 move.l -[A7], [A1 + 0x8]
0000005C 2251 movea.l A1, [A1]
0000005E 2251 movea.l A1, [A1]
00000060 4E91 jsr [A1]
00000062 201F move.l D0, [A7]+
00000064 2E57 movea.l A7, [A7]
00000066 2A6F 0004 movea.l A5, [A7 + 0x4]
0000006A 2F40 0004 move.l [A7 + 0x4], D0
0000006E 4E75 rts
label00000070:
00000070 2F08 move.l -[A7], A0
00000072 42A7 clr.l -[A7]
00000074 2F10 move.l -[A7], [A0]
00000076 7007 moveq.l D0, 0x07
00000078 A82A syscall ComponentDispatch
0000007A 221F move.l D1, [A7]+
0000007C 205F movea.l A0, [A7]+
0000007E 674E beq +0x50 /* 000000CE */
00000080 20D7 move.l [A0]+, [A7]
00000082 208D move.l [A0], A5
00000084 2E81 move.l [A7], D1
00000086 42A7 clr.l -[A7]
00000088 E949 lsl D1.w, 4
0000008A 2278 028A movea.l A1, [0x0000028A /* RSDHndl */]
0000008E 2251 movea.l A1, [A1]
00000090 D2C1 add.w A1, D1
00000092 486F 0008 pea.l [A7 + 0x8]
00000096 2029 000C move.l D0, [A1 + 0xC]
0000009A 6702 beq +0x4 /* 0000009E */
0000009C 2A40 movea.l A5, D0
label0000009E:
0000009E 2F29 0008 move.l -[A7], [A1 + 0x8]
000000A2 2251 movea.l A1, [A1]
000000A4 2251 movea.l A1, [A1]
000000A6 4E91 jsr [A1]
000000A8 2017 move.l D0, [A7]
000000AA 226F 0004 movea.l A1, [A7 + 0x4]
000000AE 41EF 0009 lea.l A0, [A7 + 0x9]
000000B2 7200 moveq.l D1, 0x00
000000B4 1210 move.b D1, [A0]
000000B6 4FF0 1003 lea.l A7, [A0 + D1.w + 0x3]
000000BA 2A6F 0004 movea.l A5, [A7 + 0x4]
000000BE 2F40 0004 move.l [A7 + 0x4], D0
000000C2 4267 clr.w -[A7]
000000C4 2F09 move.l -[A7], A1
000000C6 7008 moveq.l D0, 0x08
000000C8 A82A syscall ComponentDispatch
000000CA 544F addq.w A7, 2
000000CC 4E75 rts
label000000CE:
000000CE 2257 movea.l A1, [A7]
000000D0 4FE8 0004 lea.l A7, [A0 + 0x4]
000000D4 2EBC 8000 8001 move.l [A7], 0x80008001
000000DA 4ED1 jmp [A1]
000000DC 0000 1480 ori.b D0, 0x80
000000E0 0000 051E ori.b D0, 0x1E
000000E4 0000 086E ori.b D0, 0x6E /* 'n' */
000000E8 0000 047C ori.b D0, 0x7C /* '|' */
000000EC 0000 0FFA ori.b D0, 0xFA
000000F0 0000 1088 ori.b D0, 0x88
000000F4 0000 0390 ori.b D0, 0x90
000000F8 0000 12A8 ori.b D0, 0xA8
000000FC 0000 13A2 ori.b D0, 0xA2
00000100 0000 0E78 ori.b D0, 0x78 /* 'x' */
00000104 0000 11A6 ori.b D0, 0xA6
00000108 0000 11D4 ori.b D0, 0xD4
0000010C 0000 11FC ori.b D0, 0xFC
00000110 0000 122A ori.b D0, 0x2A /* '*' */
00000114 0000 1252 ori.b D0, 0x52 /* 'R' */
00000118 0000 1280 ori.b D0, 0x80
0000011C 0000 10FA ori.b D0, 0xFA
00000120 0000 1128 ori.b D0, 0x28 /* '(' */
00000124 0000 0652 ori.b D0, 0x52 /* 'R' */
00000128 0000 0BD6 ori.b D0, 0xD6
0000012C 0000 0DF2 ori.b D0, 0xF2
00000130 0000 0AA2 ori.b D0, 0xA2
00000134 0000 0F7A ori.b D0, 0x7A /* 'z' */
00000138 0000 0152 ori.b D0, 0x52 /* 'R' */
0000013C 0000 0B26 ori.b D0, 0x26 /* '&' */
00000140 0000 01FC ori.b D0, 0xFC
00000144 0000 1150 ori.b D0, 0x50 /* 'P' */
00000148 0000 117E ori.b D0, 0x7E /* '~' */
0000014C 0000 09E6 ori.b D0, 0xE6
00000150 0000 0A56 ori.b D0, 0x56 /* 'V' */
00000154 0000 0920 ori.b D0, 0x20 /* ' ' */
00000158 0000 0CA8 ori.b D0, 0xA8
0000015C 0000 0DAA ori.b D0, 0xAA
00000160 0000 1420 ori.b D0, 0x20 /* ' ' */
label00000164:
00000164 6B3C bmi +0x3E /* 000001A2 */
00000166 0C40 0024 cmpi.w D0, 0x24 /* '$' */
0000016A 6758 beq +0x5A /* 000001C4 */
0000016C 622E bhi +0x30 /* 0000019C */
0000016E 41FA FF6C lea.l A0, [PC - 0x94 /* 000000DC, value 0x1480, cstring "" */]
00000172 E548 lsl D0.w, 2
00000174 D1F0 0000 add.l A0, [A0 + D0.w]
00000178 4ED0 jmp [A0]
0000017A 1420 move.b D2, -[A0]
0000017C 4261 clr.w -[A1]
0000017E 6420 bcc +0x22 /* 000001A0 */
00000180 436F 6D70 chk.w D1, [A7 + 0x6D70]
00000184 6F6E ble +0x70 /* 000001F4 */
00000186 656E bcs +0x70 /* 000001F6 */
00000188 7420 moveq.l D2, 0x20
0000018A 4D61 chk.w D6, -[A1]
0000018C 6E61 bgt +0x63 /* 000001EF */
0000018E 6765 beq +0x67 /* 000001F5 */
00000190 7220 moveq.l D1, 0x20
00000192 5365 subq.w -[A5], 1
00000194 6C65 bge +0x67 /* 000001FB */
00000196 6374 bls +0x76 /* 0000020C */
00000198 6F72 ble +0x74 /* 0000020C */
0000019A 2021 move.l D0, -[A1]
label0000019C:
0000019C 487A FFDC pea.l [PC - 0x24 /* 0000017A, value 0x14204261, pstring " Bad Component Manag" */]
label000001A0:
000001A0 ABFF syscall DebugStr
label000001A2:
000001A2 201F move.l D0, [A7]+
000001A4 205F movea.l A0, [A7]+
000001A6 225F movea.l A1, [A7]+
000001A8 7200 moveq.l D1, 0x00
000001AA 1229 0001 move.b D1, [A1 + 0x1]
000001AE 43F1 1004 lea.l A1, [A1 + D1.w + 0x4]
000001B2 E449 lsr D1.w, 2
000001B4 6406 bcc +0x8 /* 000001BC */
000001B6 3F21 move.w -[A7], -[A1]
000001B8 6002 bra +0x4 /* 000001BC */
label000001BA:
000001BA 2F21 move.l -[A7], -[A1]
label000001BC:
000001BC 51C9 FFFC dbf D1, -0x6 /* 000001BA */
000001C0 2F00 move.l -[A7], D0
000001C2 4ED0 jmp [A0]
label000001C4:
000001C4 202F 0004 move.l D0, [A7 + 0x4]
000001C8 E948 lsl D0.w, 4
000001CA 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
000001CE 2050 movea.l A0, [A0]
000001D0 D0C0 add.w A0, D0
000001D2 4840 swap.w D0
000001D4 B028 0004 cmp.b D0, [A0 + 0x4]
000001D8 6636 bne +0x38 /* 00000210 */
000001DA 2228 000C move.l D1, [A0 + 0xC]
000001DE 660C bne +0xE /* 000001EC */
000001E0 2F68 0008 0004 move.l [A7 + 0x4], [A0 + 0x8]
000001E6 2050 movea.l A0, [A0]
000001E8 2050 movea.l A0, [A0]
000001EA 4ED0 jmp [A0]
label000001EC:
000001EC 226F 0008 movea.l A1, [A7 + 0x8]
000001F0 2F0D move.l -[A7], A5
000001F2 2A41 movea.l A5, D1
label000001F4:
000001F4 42A7 clr.l -[A7]
label000001F6:
000001F6 2F09 move.l -[A7], A1
000001F8 2F28 0008 move.l -[A7], [A0 + 0x8]
000001FC 2050 movea.l A0, [A0]
000001FE 2050 movea.l A0, [A0]
00000200 4E90 jsr [A0]
00000202 201F move.l D0, [A7]+
00000204 2F40 0010 move.l [A7 + 0x10], D0
00000208 2A5F movea.l A5, [A7]+
0000020A 205F movea.l A0, [A7]+
label0000020C:
0000020C 504F addq.w A7, 8
0000020E 4ED0 jmp [A0]
label00000210:
00000210 205F movea.l A0, [A7]+
00000212 504F addq.w A7, 8
00000214 2EBC 8000 0001 move.l [A7], 0x80000001
0000021A 4ED0 jmp [A0]
0000021C 0C40 000C cmpi.w D0, 0xC
00000220 6606 bne +0x8 /* 00000228 */
00000222 7016 moveq.l D0, 0x16
00000224 A82A syscall ComponentDispatch
00000226 700C moveq.l D0, 0x0C
label00000228:
00000228 4EF9 0000 0000 jmp [0x00000000 /* __m68k_reset_stack__ */]
0000022E 4E56 0000 link A6, 0
00000232 48E7 0108 movem.l -[A7], D7,A4
00000236 7EFF moveq.l D7, 0xFFFFFFFF
00000238 49FA FFF0 lea.l A4, [PC - 0x10 /* 0000022A, value 0x0, cstring "" */]
0000023C 4A94 tst.l [A4]
0000023E 6610 bne +0x12 /* 00000250 */
00000240 28B8 1888 move.l [A4], [0x00001888]
00000244 41FA FFD6 lea.l A0, [PC - 0x2A /* 0000021C, value 0xC40000C */]
00000248 2008 move.l D0, A0
0000024A A055 syscall StripAddress
0000024C 21C0 1888 move.l [0x00001888], D0
label00000250:
00000250 70FF moveq.l D0, 0xFFFFFFFF
00000252 B0B8 028A cmp.l D0, [0x0000028A /* RSDHndl */]
00000256 675C beq +0x5E /* 000002B4 */
00000258 2F3C 7FFF FFFF move.l -[A7], 0x7FFFFFFF
0000025E 7001 moveq.l D0, 0x01
00000260 2F00 move.l -[A7], D0
00000262 4EBA 0DAA jsr [PC + 0xDAA /* 0000100E */]
00000266 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
0000026A 2E28 0008 move.l D7, [A0 + 0x8]
0000026E 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00000272 4AA8 0018 tst.l [A0 + 0x18]
00000276 504F addq.w A7, 8
00000278 670A beq +0xC /* 00000284 */
0000027A 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
0000027E 2068 0018 movea.l A0, [A0 + 0x18]
00000282 A01F syscall DisposPtr/DisposePtr
label00000284:
00000284 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00000288 4A90 tst.l [A0]
0000028A 6708 beq +0xA /* 00000294 */
0000028C 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00000290 2050 movea.l A0, [A0]
00000292 A01F syscall DisposPtr/DisposePtr
label00000294:
00000294 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00000298 4AA8 0024 tst.l [A0 + 0x24]
0000029C 670A beq +0xC /* 000002A8 */
0000029E 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
000002A2 2068 0024 movea.l A0, [A0 + 0x24]
000002A6 A01F syscall DisposPtr/DisposePtr
label000002A8:
000002A8 4AB8 028A tst.l [0x0000028A /* RSDHndl */]
000002AC 6706 beq +0x8 /* 000002B4 */
000002AE 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
000002B2 A01F syscall DisposPtr/DisposePtr
label000002B4:
000002B4 7028 moveq.l D0, 0x28
000002B6 A71E syscall NewPtrSysClear, flags=7
000002B8 21C8 028A move.l [0x0000028A /* RSDHndl */], A0
000002BC 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
000002C0 2147 0008 move.l [A0 + 0x8], D7
000002C4 7020 moveq.l D0, 0x20
000002C6 2F00 move.l -[A7], D0
000002C8 4EBA 0132 jsr [PC + 0x132 /* 000003FC */]
000002CC 584F addq.w A7, 4
000002CE 4CEE 1080 FFF8 movem.l D7,A4, [A6 - 0x8]
000002D4 4E5E unlink A6
000002D6 4E75 rts
000002D8 4E56 0000 link A6, 0
000002DC 7001 moveq.l D0, 0x01
000002DE 2D40 0008 move.l [A6 + 0x8], D0
000002E2 4E5E unlink A6
000002E4 4E75 rts
fn000002E6:
000002E6 4E56 FFF8 link A6, -0x0008
000002EA 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
000002EE 3A2E 000A move.w D5, [A6 + 0xA]
000002F2 2878 028A movea.l A4, [0x0000028A /* RSDHndl */]
000002F6 3C2C 0014 move.w D6, [A4 + 0x14]
000002FA 48C6 ext.l D6
000002FC ED86 asl D6, 6
000002FE 2D6C 0018 FFF8 move.l [A6 - 0x8], [A4 + 0x18]
00000304 48C5 ext.l D5
00000306 2005 move.l D0, D5
00000308 ED80 asl D0, 6
0000030A D086 add.l D0, D6
0000030C A71E syscall NewPtrSysClear, flags=7
0000030E 2848 movea.l A4, A0
00000310 2D4C FFFC move.l [A6 - 0x4], A4
00000314 200C move.l D0, A4
00000316 6608 bne +0xA /* 00000320 */
00000318 3038 0220 move.w D0, [0x00000220 /* MemErr */]
0000031C 6000 00D4 bra +0xD6 /* 000003F2 */
label00000320:
00000320 206E FFF8 movea.l A0, [A6 - 0x8]
00000324 224C movea.l A1, A4
00000326 2006 move.l D0, D6
00000328 A02E syscall BlockMove/BlockMoveData
0000032A 2C2E FFFC move.l D6, [A6 - 0x4]
0000032E 9CAE FFF8 sub.l D6, [A6 - 0x8]
00000332 4247 clr.w D7
00000334 6018 bra +0x1A /* 0000034E */
label00000336:
00000336 4AAC 0038 tst.l [A4 + 0x38]
0000033A 670A beq +0xC /* 00000346 */
0000033C 2006 move.l D0, D6
0000033E D0AC 0038 add.l D0, [A4 + 0x38]
00000342 2940 0038 move.l [A4 + 0x38], D0
label00000346:
00000346 49EC 0040 lea.l A4, [A4 + 0x40]
0000034A 3007 move.w D0, D7
0000034C 5247 addq.w D7, 1
label0000034E:
0000034E 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00000352 BE68 0014 cmp.w D7, [A0 + 0x14]
00000356 6DDE blt -0x20 /* 00000336 */
00000358 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
0000035C 2650 movea.l A3, [A0]
0000035E 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00000362 3E28 000E move.w D7, [A0 + 0xE]
00000366 5347 subq.w D7, 1
00000368 4A47 tst.w D7
0000036A 6D12 blt +0x14 /* 0000037E */
label0000036C:
0000036C 4A93 tst.l [A3]
0000036E 6706 beq +0x8 /* 00000376 */
00000370 2006 move.l D0, D6
00000372 D093 add.l D0, [A3]
00000374 2680 move.l [A3], D0
label00000376:
00000376 47EB 0010 lea.l A3, [A3 + 0x10]
0000037A 51CF FFF0 dbf D7, -0x12 /* 0000036C */
label0000037E:
0000037E 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00000382 4AA8 001C tst.l [A0 + 0x1C]
00000386 6712 beq +0x14 /* 0000039A */
00000388 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
0000038C 2006 move.l D0, D6
0000038E D0A8 001C add.l D0, [A0 + 0x1C]
00000392 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00000396 2140 001C move.l [A0 + 0x1C], D0
label0000039A:
0000039A 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
0000039E 2668 0020 movea.l A3, [A0 + 0x20]
000003A2 200B move.l D0, A3
000003A4 6706 beq +0x8 /* 000003AC */
000003A6 200B move.l D0, A3
000003A8 D086 add.l D0, D6
000003AA 2640 movea.l A3, D0
label000003AC:
000003AC 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
000003B0 214C 0020 move.l [A0 + 0x20], A4
000003B4 7E01 moveq.l D7, 0x01
000003B6 6012 bra +0x14 /* 000003CA */
label000003B8:
000003B8 200C move.l D0, A4
000003BA 7240 moveq.l D1, 0x40
000003BC D081 add.l D0, D1
000003BE 2940 0038 move.l [A4 + 0x38], D0
000003C2 49EC 0040 lea.l A4, [A4 + 0x40]
000003C6 3007 move.w D0, D7
000003C8 5247 addq.w D7, 1
label000003CA:
000003CA BA47 cmp.w D5, D7
000003CC 6EEA bgt -0x14 /* 000003B8 */
000003CE 294B 0038 move.l [A4 + 0x38], A3
000003D2 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
000003D6 216E FFFC 0018 move.l [A0 + 0x18], [A6 - 0x4]
000003DC 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
000003E0 DB68 0014 add.w [A0 + 0x14], D5
000003E4 4AAE FFF8 tst.l [A6 - 0x8]
000003E8 6706 beq +0x8 /* 000003F0 */
000003EA 206E FFF8 movea.l A0, [A6 - 0x8]
000003EE A01F syscall DisposPtr/DisposePtr
label000003F0:
000003F0 7000 moveq.l D0, 0x00
label000003F2:
000003F2 4CEE 18E0 FFE4 movem.l D5,D6,D7,A3,A4, [A6 - 0x1C]
000003F8 4E5E unlink A6
000003FA 4E75 rts
fn000003FC:
000003FC 4E56 FFFC link A6, -0x0004
00000400 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00000404 3C2E 000A move.w D6, [A6 + 0xA]
00000408 2678 028A movea.l A3, [0x0000028A /* RSDHndl */]
0000040C 3E2B 000E move.w D7, [A3 + 0xE]
00000410 48C7 ext.l D7
00000412 E987 asl D7, 4
00000414 2D53 FFFC move.l [A6 - 0x4], [A3]
00000418 48C6 ext.l D6
0000041A 2006 move.l D0, D6
0000041C E980 asl D0, 4
0000041E D087 add.l D0, D7
00000420 A71E syscall NewPtrSysClear, flags=7
00000422 2848 movea.l A4, A0
00000424 264C movea.l A3, A4
00000426 200C move.l D0, A4
00000428 6606 bne +0x8 /* 00000430 */
0000042A 3038 0220 move.w D0, [0x00000220 /* MemErr */]
0000042E 6032 bra +0x34 /* 00000462 */
label00000430:
00000430 206E FFFC movea.l A0, [A6 - 0x4]
00000434 224C movea.l A1, A4
00000436 2007 move.l D0, D7
00000438 A02E syscall BlockMove/BlockMoveData
0000043A 4A2B 0004 tst.b [A3 + 0x4]
0000043E 6606 bne +0x8 /* 00000446 */
00000440 177C 0081 0004 move.b [A3 + 0x4], 0x81
label00000446:
00000446 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
0000044A 208B move.l [A0], A3
0000044C 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00000450 DD68 000E add.w [A0 + 0xE], D6
00000454 4AAE FFFC tst.l [A6 - 0x4]
00000458 6706 beq +0x8 /* 00000460 */
0000045A 206E FFFC movea.l A0, [A6 - 0x4]
0000045E A01F syscall DisposPtr/DisposePtr
label00000460:
00000460 7000 moveq.l D0, 0x00
label00000462:
00000462 4CEE 18C0 FFEC movem.l D6,D7,A3,A4, [A6 - 0x14]
00000468 4E5E unlink A6
0000046A 4E75 rts
0000046C 4E56 0000 link A6, 0
00000470 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00000474 2D68 0004 0008 move.l [A6 + 0x8], [A0 + 0x4]
0000047A 4E5E unlink A6
0000047C 4E75 rts
fn0000047E:
0000047E 4E56 0000 link A6, 0
00000482 2F0C move.l -[A7], A4
00000484 286E 0008 movea.l A4, [A6 + 0x8]
00000488 200C move.l D0, A4
0000048A 671A beq +0x1C /* 000004A6 */
0000048C 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00000490 200C move.l D0, A4
00000492 90A8 0018 sub.l D0, [A0 + 0x18]
00000496 EC80 asr D0, 6
00000498 7200 moveq.l D1, 0x00
0000049A 122C 0029 move.b D1, [A4 + 0x29]
0000049E 4841 swap.w D1
000004A0 4241 clr.w D1
000004A2 D280 add.l D1, D0
000004A4 6002 bra +0x4 /* 000004A8 */
label000004A6:
000004A6 7200 moveq.l D1, 0x00
label000004A8:
000004A8 2001 move.l D0, D1
000004AA 286E FFFC movea.l A4, [A6 - 0x4]
000004AE 4E5E unlink A6
000004B0 4E75 rts
fn000004B2:
000004B2 4E56 0000 link A6, 0
000004B6 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
000004BA 203C 0000 FFFF move.l D0, 0xFFFF
000004C0 C0AE 0008 and.l D0, [A6 + 0x8]
000004C4 48C0 ext.l D0
000004C6 ED80 asl D0, 6
000004C8 D0A8 0018 add.l D0, [A0 + 0x18]
000004CC 4E5E unlink A6
000004CE 4E75 rts
fn000004D0:
000004D0 4E56 0000 link A6, 0
000004D4 48E7 0318 movem.l -[A7], D6,D7,A3,A4
000004D8 266E 0008 movea.l A3, [A6 + 0x8]
000004DC 286E 000C movea.l A4, [A6 + 0xC]
000004E0 2E2B 0010 move.l D7, [A3 + 0x10]
000004E4 2C07 move.l D6, D7
000004E6 CCAB 000C and.l D6, [A3 + 0xC]
000004EA 6004 bra +0x6 /* 000004F0 */
label000004EC:
000004EC 286C 0038 movea.l A4, [A4 + 0x38]
label000004F0:
000004F0 200C move.l D0, A4
000004F2 6752 beq +0x54 /* 00000546 */
000004F4 202C 0004 move.l D0, [A4 + 0x4]
000004F8 B093 cmp.l D0, [A3]
000004FA 6704 beq +0x6 /* 00000500 */
000004FC 4A93 tst.l [A3]
000004FE 66EC bne -0x12 /* 000004EC */
label00000500:
00000500 4AAB 0004 tst.l [A3 + 0x4]
00000504 670A beq +0xC /* 00000510 */
00000506 202C 0008 move.l D0, [A4 + 0x8]
0000050A B0AB 0004 cmp.l D0, [A3 + 0x4]
0000050E 66DC bne -0x22 /* 000004EC */
label00000510:
00000510 4AAB 0008 tst.l [A3 + 0x8]
00000514 670A beq +0xC /* 00000520 */
00000516 202C 000C move.l D0, [A4 + 0xC]
0000051A B0AB 0008 cmp.l D0, [A3 + 0x8]
0000051E 66CC bne -0x32 /* 000004EC */
label00000520:
00000520 2007 move.l D0, D7
00000522 C0AC 0010 and.l D0, [A4 + 0x10]
00000526 BC80 cmp.l D6, D0
00000528 66C2 bne -0x3C /* 000004EC */
0000052A 4AAC 0034 tst.l [A4 + 0x34]
0000052E 670A beq +0xC /* 0000053A */
00000530 202C 0034 move.l D0, [A4 + 0x34]
00000534 B0B8 0904 cmp.l D0, [0x00000904 /* CurrentA5 */]
00000538 66B2 bne -0x4C /* 000004EC */
label0000053A:
0000053A 7000 moveq.l D0, 0x00
0000053C 102C 0028 move.b D0, [A4 + 0x28]
00000540 7201 moveq.l D1, 0x01
00000542 C200 and.b D1, D0
00000544 66A6 bne -0x58 /* 000004EC */
label00000546:
00000546 2F0C move.l -[A7], A4
00000548 4EBA FF34 jsr [PC - 0xCC /* 0000047E */]
0000054C 584F addq.w A7, 4
0000054E 4CEE 18C0 FFF0 movem.l D6,D7,A3,A4, [A6 - 0x10]
00000554 4E5E unlink A6
00000556 4E75 rts
00000558 4E56 0000 link A6, 0
0000055C 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00000560 266E 0008 movea.l A3, [A6 + 0x8]
00000564 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00000568 2868 001C movea.l A4, [A0 + 0x1C]
0000056C 7E00 moveq.l D7, 0x00
0000056E 6012 bra +0x14 /* 00000582 */
label00000570:
00000570 2F06 move.l -[A7], D6
00000572 4EBA FF3E jsr [PC - 0xC2 /* 000004B2 */]
00000576 2040 movea.l A0, D0
00000578 2868 0038 movea.l A4, [A0 + 0x38]
0000057C 2007 move.l D0, D7
0000057E 5287 addq.l D7, 1
00000580 584F addq.w A7, 4
label00000582:
00000582 2F0C move.l -[A7], A4
00000584 2F0B move.l -[A7], A3
00000586 4EBA FF48 jsr [PC - 0xB8 /* 000004D0 */]
0000058A 2C00 move.l D6, D0
0000058C 504F addq.w A7, 8
0000058E 66E0 bne -0x1E /* 00000570 */
00000590 2D47 000C move.l [A6 + 0xC], D7
00000594 4CEE 18C0 FFF0 movem.l D6,D7,A3,A4, [A6 - 0x10]
0000059A 4E5E unlink A6
0000059C 2E9F move.l [A7], [A7]+
0000059E 4E75 rts
fn000005A0:
000005A0 4E56 0000 link A6, 0
000005A4 48E7 0018 movem.l -[A7], A3,A4
000005A8 286E 000C movea.l A4, [A6 + 0xC]
000005AC 7000 moveq.l D0, 0x00
000005AE 2640 movea.l A3, D0
000005B0 6006 bra +0x8 /* 000005B8 */
label000005B2:
000005B2 264C movea.l A3, A4
000005B4 286C 0038 movea.l A4, [A4 + 0x38]
label000005B8:
000005B8 200C move.l D0, A4
000005BA 6732 beq +0x34 /* 000005EE */
000005BC 206E 0008 movea.l A0, [A6 + 0x8]
000005C0 202C 0004 move.l D0, [A4 + 0x4]
000005C4 B090 cmp.l D0, [A0]
000005C6 65EA bcs -0x14 /* 000005B2 */
000005C8 202C 0004 move.l D0, [A4 + 0x4]
000005CC B090 cmp.l D0, [A0]
000005CE 661E bne +0x20 /* 000005EE */
000005D0 202C 0008 move.l D0, [A4 + 0x8]
000005D4 B0A8 0004 cmp.l D0, [A0 + 0x4]
000005D8 65D8 bcs -0x26 /* 000005B2 */
000005DA 202C 0008 move.l D0, [A4 + 0x8]
000005DE B0A8 0004 cmp.l D0, [A0 + 0x4]
000005E2 660A bne +0xC /* 000005EE */
000005E4 202C 000C move.l D0, [A4 + 0xC]
000005E8 B0A8 0008 cmp.l D0, [A0 + 0x8]
000005EC 65C4 bcs -0x3A /* 000005B2 */
label000005EE:
000005EE 200B move.l D0, A3
000005F0 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
000005F6 4E5E unlink A6
000005F8 4E75 rts
fn000005FA:
000005FA 4E56 FFFC link A6, -0x0004
000005FE 48E7 0018 movem.l -[A7], A3,A4
00000602 266E 0010 movea.l A3, [A6 + 0x10]
00000606 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
0000060A 4AA8 0020 tst.l [A0 + 0x20]
0000060E 6618 bne +0x1A /* 00000628 */
00000610 7020 moveq.l D0, 0x20
00000612 2F00 move.l -[A7], D0
00000614 4EBA FCD0 jsr [PC - 0x330 /* 000002E6 */]
00000618 4A40 tst.w D0
0000061A 584F addq.w A7, 4
0000061C 670A beq +0xC /* 00000628 */
0000061E 7000 moveq.l D0, 0x00
00000620 2D40 001E move.l [A6 + 0x1E], D0
00000624 6000 00F8 bra +0xFA /* 0000071E */
label00000628:
00000628 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
0000062C 2868 0020 movea.l A4, [A0 + 0x20]
00000630 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00000634 216C 0038 0020 move.l [A0 + 0x20], [A4 + 0x38]
0000063A 206E 001A movea.l A0, [A6 + 0x1A]
0000063E 224C movea.l A1, A4
00000640 5889 addq.l A1, 4
00000642 7004 moveq.l D0, 0x04
label00000644:
00000644 22D8 move.l [A1]+, [A0]+
00000646 51C8 FFFC dbf D0, -0x6 /* 00000644 */
0000064A 202E 0016 move.l D0, [A6 + 0x16]
0000064E A055 syscall StripAddress
00000650 2880 move.l [A4], D0
00000652 4A6E 0014 tst.w [A6 + 0x14]
00000656 6704 beq +0x6 /* 0000065C */
00000658 7000 moveq.l D0, 0x00
0000065A 6004 bra +0x6 /* 00000660 */
label0000065C:
0000065C 2038 0904 move.l D0, [0x00000904 /* CurrentA5 */]
label00000660:
00000660 2940 0034 move.l [A4 + 0x34], D0
00000664 A11A syscall GetZone, flags=1
00000666 2D48 FFFC move.l [A6 - 0x4], A0
0000066A 2078 02A6 movea.l A0, [0x000002A6 /* SysZone */]
0000066E A01B syscall SetZone
00000670 294B 001C move.l [A4 + 0x1C], A3
00000674 200B move.l D0, A3
00000676 670C beq +0xE /* 00000684 */
00000678 558F subq.l A7, 2
0000067A 486C 001C pea.l [A4 + 0x1C]
0000067E 4EBA 14E8 jsr [PC + 0x14E8 /* 00001B68 */]
00000682 544F addq.w A7, 2
label00000684:
00000684 296E 000C 0020 move.l [A4 + 0x20], [A6 + 0xC]
0000068A 670C beq +0xE /* 00000698 */
0000068C 558F subq.l A7, 2
0000068E 486C 0020 pea.l [A4 + 0x20]
00000692 4EBA 14D4 jsr [PC + 0x14D4 /* 00001B68 */]
00000696 544F addq.w A7, 2
label00000698:
00000698 296E 0008 0024 move.l [A4 + 0x24], [A6 + 0x8]
0000069E 670C beq +0xE /* 000006AC */
000006A0 558F subq.l A7, 2
000006A2 486C 0024 pea.l [A4 + 0x24]
000006A6 4EBA 14C0 jsr [PC + 0x14C0 /* 00001B68 */]
000006AA 544F addq.w A7, 2
label000006AC:
000006AC 206E FFFC movea.l A0, [A6 - 0x4]
000006B0 A01B syscall SetZone
000006B2 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
000006B6 2F28 001C move.l -[A7], [A0 + 0x1C]
000006BA 2F2E 001A move.l -[A7], [A6 + 0x1A]
000006BE 4EBA FEE0 jsr [PC - 0x120 /* 000005A0 */]
000006C2 2640 movea.l A3, D0
000006C4 200B move.l D0, A3
000006C6 504F addq.w A7, 8
000006C8 670C beq +0xE /* 000006D6 */
000006CA 296B 0038 0038 move.l [A4 + 0x38], [A3 + 0x38]
000006D0 274C 0038 move.l [A3 + 0x38], A4
000006D4 6012 bra +0x14 /* 000006E8 */
label000006D6:
000006D6 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
000006DA 2968 001C 0038 move.l [A4 + 0x38], [A0 + 0x1C]
000006E0 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
000006E4 214C 001C move.l [A0 + 0x1C], A4
label000006E8:
000006E8 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
000006EC 52A8 0004 addq.l [A0 + 0x4], 1
000006F0 4A2C 0029 tst.b [A4 + 0x29]
000006F4 6604 bne +0x6 /* 000006FA */
000006F6 522C 0029 addq.b [A4 + 0x29], 1
label000006FA:
000006FA 7000 moveq.l D0, 0x00
000006FC 2940 0018 move.l [A4 + 0x18], D0
00000700 2940 003C move.l [A4 + 0x3C], D0
00000704 422C 0028 clr.b [A4 + 0x28]
00000708 2940 0014 move.l [A4 + 0x14], D0
0000070C 397C FFFF 002C move.w [A4 + 0x2C], 0xFFFF
00000712 2F0C move.l -[A7], A4
00000714 4EBA FD68 jsr [PC - 0x298 /* 0000047E */]
00000718 2D40 001E move.l [A6 + 0x1E], D0
0000071C 584F addq.w A7, 4
label0000071E:
0000071E 4CEE 1800 FFF4 movem.l A3,A4, [A6 - 0xC]
00000724 4E5E unlink A6
00000726 205F movea.l A0, [A7]+
00000728 4FEF 0016 lea.l A7, [A7 + 0x16]
0000072C 4ED0 jmp [A0]
0000072E 4E56 FFFC link A6, -0x0004
00000732 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00000736 7E00 moveq.l D7, 0x00
00000738 206E 000A movea.l A0, [A6 + 0xA]
0000073C A069 syscall HGetState
0000073E 1C00 move.b D6, D0
00000740 206E 000A movea.l A0, [A6 + 0xA]
00000744 A029 syscall HLock
00000746 206E 000A movea.l A0, [A6 + 0xA]
0000074A 2850 movea.l A4, [A0]
0000074C 598F subq.l A7, 4
0000074E 2F0C move.l -[A7], A4
00000750 7000 moveq.l D0, 0x00
00000752 2F00 move.l -[A7], D0
00000754 3F2E 0008 move.w -[A7], [A6 + 0x8]
00000758 598F subq.l A7, 4
0000075A 2F2C 001A move.l -[A7], [A4 + 0x1A]
0000075E 3F2C 001E move.w -[A7], [A4 + 0x1E]
00000762 A9A0 syscall GetResource
00000764 598F subq.l A7, 4
00000766 2F2C 0020 move.l -[A7], [A4 + 0x20]
0000076A 3F2C 0024 move.w -[A7], [A4 + 0x24]
0000076E A9A0 syscall GetResource
00000770 598F subq.l A7, 4
00000772 2F2C 0026 move.l -[A7], [A4 + 0x26]
00000776 3F2C 002A move.w -[A7], [A4 + 0x2A]
0000077A A9A0 syscall GetResource
0000077C 4EBA FE7C jsr [PC - 0x184 /* 000005FA */]
00000780 2E1F move.l D7, [A7]+
00000782 206E 000A movea.l A0, [A6 + 0xA]
00000786 1006 move.b D0, D6
00000788 A06A syscall HSetState
0000078A 4A87 tst.l D7
0000078C 677A beq +0x7C /* 00000808 */
0000078E 2F07 move.l -[A7], D7
00000790 4EBA FD20 jsr [PC - 0x2E0 /* 000004B2 */]
00000794 2640 movea.l A3, D0
00000796 2F2E 000A move.l -[A7], [A6 + 0xA]
0000079A 4EBA 0FD2 jsr [PC + 0xFD2 /* 0000176E */]
0000079E 3740 002C move.w [A3 + 0x2C], D0
000007A2 504F addq.w A7, 8
000007A4 6C12 bge +0x14 /* 000007B8 */
000007A6 558F subq.l A7, 2
000007A8 2F07 move.l -[A7], D7
000007AA 4EBA 019E jsr [PC + 0x19E /* 0000094A */]
000007AE 7000 moveq.l D0, 0x00
000007B0 2D40 000E move.l [A6 + 0xE], D0
000007B4 544F addq.w A7, 2
000007B6 6054 bra +0x56 /* 0000080C */
label000007B8:
000007B8 7000 moveq.l D0, 0x00
000007BA A522 syscall NewHandleSys, flags=5
000007BC 2D48 FFFC move.l [A6 - 0x4], A0
000007C0 A02B syscall EmptyHandle
000007C2 376C 0018 002E move.w [A3 + 0x2E], [A4 + 0x18]
000007C8 276C 0014 0030 move.l [A3 + 0x30], [A4 + 0x14]
000007CE 276E FFFC 003C move.l [A3 + 0x3C], [A6 - 0x4]
000007D4 26AE FFFC move.l [A3], [A6 - 0x4]
000007D8 203C 8000 0000 move.l D0, 0x80000000
000007DE C0AB 0010 and.l D0, [A3 + 0x10]
000007E2 6724 beq +0x26 /* 00000808 */
000007E4 598F subq.l A7, 4
000007E6 2F07 move.l -[A7], D7
000007E8 2F3C 0000 FFFB move.l -[A7], 0xFFFB
000007EE 7000 moveq.l D0, 0x00
000007F0 A82A syscall ComponentDispatch
000007F2 4A9F tst.l [A7]+
000007F4 6712 beq +0x14 /* 00000808 */
000007F6 558F subq.l A7, 2
000007F8 2F07 move.l -[A7], D7
000007FA 4EBA 014E jsr [PC + 0x14E /* 0000094A */]
000007FE 7000 moveq.l D0, 0x00
00000800 2D40 000E move.l [A6 + 0xE], D0
00000804 544F addq.w A7, 2
00000806 6004 bra +0x6 /* 0000080C */
label00000808:
00000808 2D47 000E move.l [A6 + 0xE], D7
label0000080C:
0000080C 4CEE 18C0 FFEC movem.l D6,D7,A3,A4, [A6 - 0x14]
00000812 4E5E unlink A6
00000814 205F movea.l A0, [A7]+
00000816 5C4F addq.w A7, 6
00000818 4ED0 jmp [A0]
fn0000081A:
0000081A 4E56 0000 link A6, 0
0000081E 48E7 0308 movem.l -[A7], D6,D7,A4
00000822 2E2E 0008 move.l D7, [A6 + 0x8]
00000826 2C07 move.l D6, D7
00000828 4846 swap.w D6
0000082A 48C6 ext.l D6
0000082C 4A87 tst.l D7
0000082E 6F04 ble +0x6 /* 00000834 */
00000830 4A86 tst.l D6
00000832 6604 bne +0x6 /* 00000838 */
label00000834:
00000834 7000 moveq.l D0, 0x00
00000836 6034 bra +0x36 /* 0000086C */
label00000838:
00000838 0287 0000 FFFF andi.l D7, 0xFFFF
0000083E 4A87 tst.l D7
00000840 6D24 blt +0x26 /* 00000866 */
00000842 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00000846 3028 000E move.w D0, [A0 + 0xE]
0000084A 48C0 ext.l D0
0000084C B087 cmp.l D0, D7
0000084E 6D16 blt +0x18 /* 00000866 */
00000850 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00000854 2007 move.l D0, D7
00000856 E980 asl D0, 4
00000858 2840 movea.l A4, D0
0000085A D9D0 add.l A4, [A0]
0000085C 7000 moveq.l D0, 0x00
0000085E 102C 0004 move.b D0, [A4 + 0x4]
00000862 B086 cmp.l D0, D6
00000864 6704 beq +0x6 /* 0000086A */
label00000866:
00000866 7000 moveq.l D0, 0x00
00000868 6002 bra +0x4 /* 0000086C */
label0000086A:
0000086A 200C move.l D0, A4
label0000086C:
0000086C 4CEE 10C0 FFF4 movem.l D6,D7,A4, [A6 - 0xC]
00000872 4E5E unlink A6
00000874 4E75 rts
fn00000876:
00000876 4E56 0000 link A6, 0
0000087A 48E7 0318 movem.l -[A7], D6,D7,A3,A4
0000087E 2E2E 0008 move.l D7, [A6 + 0x8]
00000882 2C07 move.l D6, D7
00000884 4846 swap.w D6
00000886 48C6 ext.l D6
00000888 4A87 tst.l D7
0000088A 6F04 ble +0x6 /* 00000890 */
0000088C 4A86 tst.l D6
0000088E 6604 bne +0x6 /* 00000894 */
label00000890:
00000890 7000 moveq.l D0, 0x00
00000892 6052 bra +0x54 /* 000008E6 */
label00000894:
00000894 0287 0000 FFFF andi.l D7, 0xFFFF
0000089A 4A87 tst.l D7
0000089C 6D2C blt +0x2E /* 000008CA */
0000089E 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
000008A2 3028 0014 move.w D0, [A0 + 0x14]
000008A6 48C0 ext.l D0
000008A8 B087 cmp.l D0, D7
000008AA 6F1E ble +0x20 /* 000008CA */
000008AC 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
000008B0 3007 move.w D0, D7
000008B2 48C0 ext.l D0
000008B4 ED80 asl D0, 6
000008B6 2640 movea.l A3, D0
000008B8 D7E8 0018 add.l A3, [A0 + 0x18]
000008BC 7000 moveq.l D0, 0x00
000008BE 102B 0029 move.b D0, [A3 + 0x29]
000008C2 B086 cmp.l D0, D6
000008C4 6604 bne +0x6 /* 000008CA */
000008C6 200B move.l D0, A3
000008C8 601C bra +0x1E /* 000008E6 */
label000008CA:
000008CA 2006 move.l D0, D6
000008CC 4840 swap.w D0
000008CE 4240 clr.w D0
000008D0 D087 add.l D0, D7
000008D2 2F00 move.l -[A7], D0
000008D4 4EBA FF44 jsr [PC - 0xBC /* 0000081A */]
000008D8 2840 movea.l A4, D0
000008DA 200C move.l D0, A4
000008DC 584F addq.w A7, 4
000008DE 6704 beq +0x6 /* 000008E4 */
000008E0 2014 move.l D0, [A4]
000008E2 6002 bra +0x4 /* 000008E6 */
label000008E4:
000008E4 7000 moveq.l D0, 0x00
label000008E6:
000008E6 4CEE 18C0 FFF0 movem.l D6,D7,A3,A4, [A6 - 0x10]
000008EC 4E5E unlink A6
000008EE 4E75 rts
fn000008F0:
000008F0 4E56 0000 link A6, 0
000008F4 48E7 0018 movem.l -[A7], A3,A4
000008F8 7000 moveq.l D0, 0x00
000008FA 2640 movea.l A3, D0
000008FC 206E 000C movea.l A0, [A6 + 0xC]
00000900 2850 movea.l A4, [A0]
00000902 220C move.l D1, A4
00000904 660A bne +0xC /* 00000910 */
00000906 70FF moveq.l D0, 0xFFFFFFFF
00000908 6036 bra +0x38 /* 00000940 */
label0000090A:
0000090A 264C movea.l A3, A4
0000090C 286C 0038 movea.l A4, [A4 + 0x38]
label00000910:
00000910 200C move.l D0, A4
00000912 6706 beq +0x8 /* 0000091A */
00000914 B9EE 0008 cmpa.l A4, [A6 + 0x8]
00000918 66F0 bne -0xE /* 0000090A */
label0000091A:
0000091A 200C move.l D0, A4
0000091C 6604 bne +0x6 /* 00000922 */
0000091E 70FF moveq.l D0, 0xFFFFFFFF
00000920 601E bra +0x20 /* 00000940 */
label00000922:
00000922 200B move.l D0, A3
00000924 660E bne +0x10 /* 00000934 */
00000926 206E 0008 movea.l A0, [A6 + 0x8]
0000092A 226E 000C movea.l A1, [A6 + 0xC]
0000092E 22A8 0038 move.l [A1], [A0 + 0x38]
00000932 600A bra +0xC /* 0000093E */
label00000934:
00000934 206E 0008 movea.l A0, [A6 + 0x8]
00000938 2768 0038 0038 move.l [A3 + 0x38], [A0 + 0x38]
label0000093E:
0000093E 7000 moveq.l D0, 0x00
label00000940:
00000940 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
00000946 4E5E unlink A6
00000948 4E75 rts
fn0000094A:
0000094A 4E56 0000 link A6, 0
0000094E 2F0C move.l -[A7], A4
00000950 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000954 4EBA FF20 jsr [PC - 0xE0 /* 00000876 */]
00000958 2840 movea.l A4, D0
0000095A 200C move.l D0, A4
0000095C 584F addq.w A7, 4
0000095E 660A bne +0xC /* 0000096A */
00000960 3D7C F448 000C move.w [A6 + 0xC], 0xF448
00000966 6000 008A bra +0x8C /* 000009F2 */
label0000096A:
0000096A 4A6C 002A tst.w [A4 + 0x2A]
0000096E 6708 beq +0xA /* 00000978 */
00000970 3D7C F447 000C move.w [A6 + 0xC], 0xF447
00000976 607A bra +0x7C /* 000009F2 */
label00000978:
00000978 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
0000097C 4868 001C pea.l [A0 + 0x1C]
00000980 2F0C move.l -[A7], A4
00000982 4EBA FF6C jsr [PC - 0x94 /* 000008F0 */]
00000986 4A80 tst.l D0
00000988 504F addq.w A7, 8
0000098A 6708 beq +0xA /* 00000994 */
0000098C 3D7C F448 000C move.w [A6 + 0xC], 0xF448
00000992 605E bra +0x60 /* 000009F2 */
label00000994:
00000994 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00000998 2968 0020 0038 move.l [A4 + 0x38], [A0 + 0x20]
0000099E 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
000009A2 214C 0020 move.l [A0 + 0x20], A4
000009A6 206C 001C movea.l A0, [A4 + 0x1C]
000009AA A023 syscall DisposHandle/DisposeHandle
000009AC 206C 0020 movea.l A0, [A4 + 0x20]
000009B0 A023 syscall DisposHandle/DisposeHandle
000009B2 206C 0024 movea.l A0, [A4 + 0x24]
000009B6 A023 syscall DisposHandle/DisposeHandle
000009B8 4AAC 003C tst.l [A4 + 0x3C]
000009BC 6706 beq +0x8 /* 000009C4 */
000009BE 206C 003C movea.l A0, [A4 + 0x3C]
000009C2 A023 syscall DisposHandle/DisposeHandle
label000009C4:
000009C4 302C 002C move.w D0, [A4 + 0x2C]
000009C8 48C0 ext.l D0
000009CA 2F00 move.l -[A7], D0
000009CC 4EBA 0DEC jsr [PC + 0xDEC /* 000017BA */]
000009D0 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
000009D4 52A8 0004 addq.l [A0 + 0x4], 1
000009D8 522C 0029 addq.b [A4 + 0x29], 1
000009DC 022C 007F 0029 andi.b [A4 + 0x29], 0x7F
000009E2 4A2C 0029 tst.b [A4 + 0x29]
000009E6 584F addq.w A7, 4
000009E8 6604 bne +0x6 /* 000009EE */
000009EA 522C 0029 addq.b [A4 + 0x29], 1
label000009EE:
000009EE 426E 000C clr.w [A6 + 0xC]
label000009F2:
000009F2 286E FFFC movea.l A4, [A6 - 0x4]
000009F6 4E5E unlink A6
000009F8 2E9F move.l [A7], [A7]+
000009FA 4E75 rts
000009FC 4E56 FFEC link A6, -0x0014
00000A00 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00000A04 2C2E 000A move.l D6, [A6 + 0xA]
00000A08 3E2E 0008 move.w D7, [A6 + 0x8]
00000A0C 2F06 move.l -[A7], D6
00000A0E 4EBA FE66 jsr [PC - 0x19A /* 00000876 */]
00000A12 2840 movea.l A4, D0
00000A14 200C move.l D0, A4
00000A16 584F addq.w A7, 4
00000A18 660A bne +0xC /* 00000A24 */
00000A1A 3D7C F448 000E move.w [A6 + 0xE], 0xF448
00000A20 6000 0092 bra +0x94 /* 00000AB4 */
label00000A24:
00000A24 558F subq.l A7, 2
00000A26 2F06 move.l -[A7], D6
00000A28 486E FFEC pea.l [A6 - 0x14]
00000A2C 7000 moveq.l D0, 0x00
00000A2E 2F00 move.l -[A7], D0
00000A30 2F00 move.l -[A7], D0
00000A32 2F00 move.l -[A7], D0
00000A34 4EBA 072E jsr [PC + 0x72E /* 00001164 */]
00000A38 7004 moveq.l D0, 0x04
00000A3A C047 and.w D0, D7
00000A3C 544F addq.w A7, 2
00000A3E 6706 beq +0x8 /* 00000A46 */
00000A40 7000 moveq.l D0, 0x00
00000A42 2D40 FFF0 move.l [A6 - 0x10], D0
label00000A46:
00000A46 7002 moveq.l D0, 0x02
00000A48 C047 and.w D0, D7
00000A4A 6706 beq +0x8 /* 00000A52 */
00000A4C 7000 moveq.l D0, 0x00
00000A4E 2D40 FFF4 move.l [A6 - 0xC], D0
label00000A52:
00000A52 0807 0000 btst.b D7, 0x0
00000A56 6706 beq +0x8 /* 00000A5E */
00000A58 7000 moveq.l D0, 0x00
00000A5A 2D40 FFF8 move.l [A6 - 0x8], D0
label00000A5E:
00000A5E 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00000A62 4868 001C pea.l [A0 + 0x1C]
00000A66 2F0C move.l -[A7], A4
00000A68 4EBA FE86 jsr [PC - 0x17A /* 000008F0 */]
00000A6C 4A80 tst.l D0
00000A6E 504F addq.w A7, 8
00000A70 6708 beq +0xA /* 00000A7A */
00000A72 3D7C F448 000E move.w [A6 + 0xE], 0xF448
00000A78 603A bra +0x3C /* 00000AB4 */
label00000A7A:
00000A7A 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00000A7E 2F28 001C move.l -[A7], [A0 + 0x1C]
00000A82 486E FFEC pea.l [A6 - 0x14]
00000A86 4EBA FB18 jsr [PC - 0x4E8 /* 000005A0 */]
00000A8A 2640 movea.l A3, D0
00000A8C 200B move.l D0, A3
00000A8E 504F addq.w A7, 8
00000A90 670C beq +0xE /* 00000A9E */
00000A92 296B 0038 0038 move.l [A4 + 0x38], [A3 + 0x38]
00000A98 274C 0038 move.l [A3 + 0x38], A4
00000A9C 6012 bra +0x14 /* 00000AB0 */
label00000A9E:
00000A9E 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00000AA2 2968 001C 0038 move.l [A4 + 0x38], [A0 + 0x1C]
00000AA8 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00000AAC 214C 001C move.l [A0 + 0x1C], A4
label00000AB0:
00000AB0 426E 000E clr.w [A6 + 0xE]
label00000AB4:
00000AB4 4CEE 18C0 FFDC movem.l D6,D7,A3,A4, [A6 - 0x24]
00000ABA 4E5E unlink A6
00000ABC 205F movea.l A0, [A7]+
00000ABE 5C4F addq.w A7, 6
00000AC0 4ED0 jmp [A0]
00000AC2 4E56 0000 link A6, 0
00000AC6 48E7 0118 movem.l -[A7], D7,A3,A4
00000ACA 2E2E 000C move.l D7, [A6 + 0xC]
00000ACE 2F07 move.l -[A7], D7
00000AD0 4EBA FDA4 jsr [PC - 0x25C /* 00000876 */]
00000AD4 2840 movea.l A4, D0
00000AD6 200C move.l D0, A4
00000AD8 584F addq.w A7, 4
00000ADA 660A bne +0xC /* 00000AE6 */
00000ADC 2D7C FFFF F448 0010 move.l [A6 + 0x10], 0xFFFFF448
00000AE4 603E bra +0x40 /* 00000B24 */
label00000AE6:
00000AE6 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000AEA 4EBA FD8A jsr [PC - 0x276 /* 00000876 */]
00000AEE 2640 movea.l A3, D0
00000AF0 200B move.l D0, A3
00000AF2 584F addq.w A7, 4
00000AF4 660A bne +0xC /* 00000B00 */
00000AF6 2D7C FFFF F448 0010 move.l [A6 + 0x10], 0xFFFFF448
00000AFE 6024 bra +0x26 /* 00000B24 */
label00000B00:
00000B00 7000 moveq.l D0, 0x00
00000B02 102C 0028 move.b D0, [A4 + 0x28]
00000B06 4A80 tst.l D0
00000B08 0800 0000 btst.b D0, 0x0
00000B0C 6708 beq +0xA /* 00000B16 */
00000B0E 7000 moveq.l D0, 0x00
00000B10 2D40 0010 move.l [A6 + 0x10], D0
00000B14 600E bra +0x10 /* 00000B24 */
label00000B16:
00000B16 002C 0001 0028 ori.b [A4 + 0x28], 0x1
00000B1C 2747 0018 move.l [A3 + 0x18], D7
00000B20 2D47 0010 move.l [A6 + 0x10], D7
label00000B24:
00000B24 4CEE 1880 FFF4 movem.l D7,A3,A4, [A6 - 0xC]
00000B2A 4E5E unlink A6
00000B2C 205F movea.l A0, [A7]+
00000B2E 504F addq.w A7, 8
00000B30 4ED0 jmp [A0]
00000B32 4E56 0000 link A6, 0
00000B36 48E7 1008 movem.l -[A7], D3,A4
00000B3A 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000B3E 4EBA FD36 jsr [PC - 0x2CA /* 00000876 */]
00000B42 2840 movea.l A4, D0
00000B44 200C move.l D0, A4
00000B46 584F addq.w A7, 4
00000B48 6608 bne +0xA /* 00000B52 */
00000B4A 3D7C F448 000C move.w [A6 + 0xC], 0xF448
00000B50 6020 bra +0x22 /* 00000B72 */
label00000B52:
00000B52 4A2C 0028 tst.b [A4 + 0x28]
00000B56 57C3 seq D3
00000B58 4403 neg.b D3
00000B5A 0803 0000 btst.b D3, 0x0
00000B5E 6708 beq +0xA /* 00000B68 */
00000B60 3D7C F446 000C move.w [A6 + 0xC], 0xF446
00000B66 600A bra +0xC /* 00000B72 */
label00000B68:
00000B68 022C 00FE 0028 andi.b [A4 + 0x28], 0xFE
00000B6E 426E 000C clr.w [A6 + 0xC]
label00000B72:
00000B72 4CEE 1008 FFF8 movem.l D3,A4, [A6 - 0x8]
00000B78 4E5E unlink A6
00000B7A 2E9F move.l [A7], [A7]+
00000B7C 4E75 rts
fn00000B7E:
00000B7E 4E56 0000 link A6, 0
00000B82 48E7 0708 movem.l -[A7], D5,D6,D7,A4
00000B86 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000B8A 4EBA FCEA jsr [PC - 0x316 /* 00000876 */]
00000B8E 2840 movea.l A4, D0
00000B90 200C move.l D0, A4
00000B92 584F addq.w A7, 4
00000B94 6606 bne +0x8 /* 00000B9C */
00000B96 426E 000C clr.w [A6 + 0xC]
00000B9A 605A bra +0x5C /* 00000BF6 */
label00000B9C:
00000B9C 3E2C 002C move.w D7, [A4 + 0x2C]
00000BA0 6D0A blt +0xC /* 00000BAC */
00000BA2 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00000BA6 BE68 0012 cmp.w D7, [A0 + 0x12]
00000BAA 6D06 blt +0x8 /* 00000BB2 */
label00000BAC:
00000BAC 426E 000C clr.w [A6 + 0xC]
00000BB0 6044 bra +0x46 /* 00000BF6 */
label00000BB2:
00000BB2 7A00 moveq.l D5, 0x00
00000BB4 1A38 0A5E move.b D5, [0x00000A5E /* ResLoad */]
00000BB8 7000 moveq.l D0, 0x00
00000BBA 1F00 move.b -[A7], D0
00000BBC A99B syscall SetResLoad
00000BBE 558F subq.l A7, 2
00000BC0 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00000BC4 48C7 ext.l D7
00000BC6 2207 move.l D1, D7
00000BC8 2001 move.l D0, D1
00000BCA C2FC 0048 mulu.w D1, 0x48 /* 'H' */
00000BCE 4840 swap.w D0
00000BD0 C0FC 0048 mulu.w D0, 0x48 /* 'H' */
00000BD4 4840 swap.w D0
00000BD6 4240 clr.w D0
00000BD8 D280 add.l D1, D0
00000BDA D2A8 0024 add.l D1, [A0 + 0x24]
00000BDE 2041 movea.l A0, D1
00000BE0 4868 0002 pea.l [A0 + 0x2]
00000BE4 7001 moveq.l D0, 0x01
00000BE6 1F00 move.b -[A7], D0
00000BE8 4EBA 0980 jsr [PC + 0x980 /* 0000156A */]
00000BEC 3C1F move.w D6, [A7]+
00000BEE 1F05 move.b -[A7], D5
00000BF0 A99B syscall SetResLoad
00000BF2 3D46 000C move.w [A6 + 0xC], D6
label00000BF6:
00000BF6 4CEE 10E0 FFF0 movem.l D5,D6,D7,A4, [A6 - 0x10]
00000BFC 4E5E unlink A6
00000BFE 2E9F move.l [A7], [A7]+
00000C00 4E75 rts
fn00000C02:
00000C02 4E56 0000 link A6, 0
00000C06 2F07 move.l -[A7], D7
00000C08 3E2E 0008 move.w D7, [A6 + 0x8]
00000C0C 6F0C ble +0xE /* 00000C1A */
00000C0E 3F07 move.w -[A7], D7
00000C10 A99A syscall CloseResFile
00000C12 3D78 0A60 000A move.w [A6 + 0xA], [0x00000A60 /* ResErr */]
00000C18 6004 bra +0x6 /* 00000C1E */
label00000C1A:
00000C1A 426E 000A clr.w [A6 + 0xA]
label00000C1E:
00000C1E 2E2E FFFC move.l D7, [A6 - 0x4]
00000C22 4E5E unlink A6
00000C24 205F movea.l A0, [A7]+
00000C26 544F addq.w A7, 2
00000C28 4ED0 jmp [A0]
fn00000C2A:
00000C2A 4E56 0000 link A6, 0
00000C2E 2F0C move.l -[A7], A4
00000C30 286E 0008 movea.l A4, [A6 + 0x8]
00000C34 200C move.l D0, A4
00000C36 6718 beq +0x1A /* 00000C50 */
00000C38 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00000C3C 200C move.l D0, A4
00000C3E 9090 sub.l D0, [A0]
00000C40 E880 asr D0, 4
00000C42 7200 moveq.l D1, 0x00
00000C44 122C 0004 move.b D1, [A4 + 0x4]
00000C48 4841 swap.w D1
00000C4A 4241 clr.w D1
00000C4C D280 add.l D1, D0
00000C4E 6002 bra +0x4 /* 00000C52 */
label00000C50:
00000C50 7200 moveq.l D1, 0x00
label00000C52:
00000C52 2001 move.l D0, D1
00000C54 286E FFFC movea.l A4, [A6 - 0x4]
00000C58 4E5E unlink A6
00000C5A 4E75 rts
fn00000C5C:
00000C5C 4E56 0000 link A6, 0
00000C60 48E7 0118 movem.l -[A7], D7,A3,A4
00000C64 266E 000C movea.l A3, [A6 + 0xC]
00000C68 286E 0008 movea.l A4, [A6 + 0x8]
00000C6C 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00000C70 3E28 000E move.w D7, [A0 + 0xE]
00000C74 200C move.l D0, A4
00000C76 6608 bne +0xA /* 00000C80 */
00000C78 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00000C7C 2850 movea.l A4, [A0]
00000C7E 6010 bra +0x12 /* 00000C90 */
label00000C80:
00000C80 49EC 0010 lea.l A4, [A4 + 0x10]
00000C84 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00000C88 200C move.l D0, A4
00000C8A 9090 sub.l D0, [A0]
00000C8C E880 asr D0, 4
00000C8E 9E40 sub.w D7, D0
label00000C90:
00000C90 5347 subq.w D7, 1
00000C92 4A47 tst.w D7
00000C94 6D10 blt +0x12 /* 00000CA6 */
label00000C96:
00000C96 B7D4 cmpa.l A3, [A4]
00000C98 6604 bne +0x6 /* 00000C9E */
00000C9A 200C move.l D0, A4
00000C9C 600A bra +0xC /* 00000CA8 */
label00000C9E:
00000C9E 49EC 0010 lea.l A4, [A4 + 0x10]
00000CA2 51CF FFF2 dbf D7, -0x10 /* 00000C96 */
label00000CA6:
00000CA6 7000 moveq.l D0, 0x00
label00000CA8:
00000CA8 4CEE 1880 FFF4 movem.l D7,A3,A4, [A6 - 0xC]
00000CAE 4E5E unlink A6
00000CB0 4E75 rts
00000CB2 4E56 0000 link A6, 0
00000CB6 2F0C move.l -[A7], A4
00000CB8 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000CBC 4EBA FBB8 jsr [PC - 0x448 /* 00000876 */]
00000CC0 2840 movea.l A4, D0
00000CC2 200C move.l D0, A4
00000CC4 584F addq.w A7, 4
00000CC6 6608 bne +0xA /* 00000CD0 */
00000CC8 7000 moveq.l D0, 0x00
00000CCA 2D40 000C move.l [A6 + 0xC], D0
00000CCE 600A bra +0xC /* 00000CDA */
label00000CD0:
00000CD0 302C 002A move.w D0, [A4 + 0x2A]
00000CD4 48C0 ext.l D0
00000CD6 2D40 000C move.l [A6 + 0xC], D0
label00000CDA:
00000CDA 286E FFFC movea.l A4, [A6 - 0x4]
00000CDE 4E5E unlink A6
00000CE0 2E9F move.l [A7], [A7]+
00000CE2 4E75 rts
fn00000CE4:
00000CE4 4E56 0000 link A6, 0
00000CE8 48E7 0118 movem.l -[A7], D7,A3,A4
00000CEC 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000CF0 4EBA FB84 jsr [PC - 0x47C /* 00000876 */]
00000CF4 2840 movea.l A4, D0
00000CF6 200C move.l D0, A4
00000CF8 584F addq.w A7, 4
00000CFA 6608 bne +0xA /* 00000D04 */
00000CFC 3D7C F448 000C move.w [A6 + 0xC], 0xF448
00000D02 6074 bra +0x76 /* 00000D78 */
label00000D04:
00000D04 598F subq.l A7, 4
00000D06 486C 0004 pea.l [A4 + 0x4]
00000D0A 2F14 move.l -[A7], [A4]
00000D0C 7001 moveq.l D0, 0x01
00000D0E 3F00 move.w -[A7], D0
00000D10 2F2C 001C move.l -[A7], [A4 + 0x1C]
00000D14 2F2C 0020 move.l -[A7], [A4 + 0x20]
00000D18 2F2C 0024 move.l -[A7], [A4 + 0x24]
00000D1C 4EBA F8DC jsr [PC - 0x724 /* 000005FA */]
00000D20 2E17 move.l D7, [A7]
00000D22 4EBA F78E jsr [PC - 0x872 /* 000004B2 */]
00000D26 2640 movea.l A3, D0
00000D28 376C 002E 002E move.w [A3 + 0x2E], [A4 + 0x2E]
00000D2E 276C 0030 0030 move.l [A3 + 0x30], [A4 + 0x30]
00000D34 376C 002C 002C move.w [A3 + 0x2C], [A4 + 0x2C]
00000D3A 302C 002C move.w D0, [A4 + 0x2C]
00000D3E 48C0 ext.l D0
00000D40 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00000D44 2068 0024 movea.l A0, [A0 + 0x24]
00000D48 2200 move.l D1, D0
00000D4A C0FC 0048 mulu.w D0, 0x48 /* 'H' */
00000D4E 4841 swap.w D1
00000D50 C2FC 0048 mulu.w D1, 0x48 /* 'H' */
00000D54 4841 swap.w D1
00000D56 4241 clr.w D1
00000D58 D081 add.l D0, D1
00000D5A 3230 0800 move.w D1, [A0 + D0]
00000D5E 5270 0800 addq.w [A0 + D0], 1
00000D62 7000 moveq.l D0, 0x00
00000D64 A522 syscall NewHandleSys, flags=5
00000D66 2848 movea.l A4, A0
00000D68 204C movea.l A0, A4
00000D6A A02B syscall EmptyHandle
00000D6C 274C 003C move.l [A3 + 0x3C], A4
00000D70 268C move.l [A3], A4
00000D72 426E 000C clr.w [A6 + 0xC]
00000D76 584F addq.w A7, 4
label00000D78:
00000D78 4CEE 1880 FFF4 movem.l D7,A3,A4, [A6 - 0xC]
00000D7E 4E5E unlink A6
00000D80 2E9F move.l [A7], [A7]+
00000D82 4E75 rts
fn00000D84:
00000D84 4E56 FFFC link A6, -0x0004
00000D88 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00000D8C 2E2E 0008 move.l D7, [A6 + 0x8]
00000D90 2F07 move.l -[A7], D7
00000D92 4EBA FAE2 jsr [PC - 0x51E /* 00000876 */]
00000D96 2840 movea.l A4, D0
00000D98 200C move.l D0, A4
00000D9A 584F addq.w A7, 4
00000D9C 660A bne +0xC /* 00000DA8 */
00000D9E 3D7C F448 000C move.w [A6 + 0xC], 0xF448
00000DA4 6000 00D4 bra +0xD6 /* 00000E7A */
label00000DA8:
00000DA8 4A6C 002C tst.w [A4 + 0x2C]
00000DAC 6D00 00C4 blt +0xC6 /* 00000E72 */
00000DB0 4A6C 002A tst.w [A4 + 0x2A]
00000DB4 6600 00BC bne +0xBE /* 00000E72 */
00000DB8 206C 003C movea.l A0, [A4 + 0x3C]
00000DBC 4A90 tst.l [A0]
00000DBE 6600 00A2 bne +0xA4 /* 00000E62 */
00000DC2 558F subq.l A7, 2
00000DC4 2F07 move.l -[A7], D7
00000DC6 4EBA FDB6 jsr [PC - 0x24A /* 00000B7E */]
00000DCA 3C1F move.w D6, [A7]+
00000DCC 660A bne +0xC /* 00000DD8 */
00000DCE 3D7C FF3F 000C move.w [A6 + 0xC], 0xFF3F
00000DD4 6000 00A4 bra +0xA6 /* 00000E7A */
label00000DD8:
00000DD8 A11A syscall GetZone, flags=1
00000DDA 2D48 FFFC move.l [A6 - 0x4], A0
00000DDE 4AAC 0034 tst.l [A4 + 0x34]
00000DE2 6606 bne +0x8 /* 00000DEA */
00000DE4 2078 02A6 movea.l A0, [0x000002A6 /* SysZone */]
00000DE8 A01B syscall SetZone
label00000DEA:
00000DEA 598F subq.l A7, 4
00000DEC 2F2C 0030 move.l -[A7], [A4 + 0x30]
00000DF0 3F2C 002E move.w -[A7], [A4 + 0x2E]
00000DF4 A81F syscall Get1Resource
00000DF6 2657 movea.l A3, [A7]
00000DF8 A9A2 syscall LoadResource
00000DFA 2F0B move.l -[A7], A3
00000DFC A992 syscall DetachResource
00000DFE 206E FFFC movea.l A0, [A6 - 0x4]
00000E02 A01B syscall SetZone
00000E04 200B move.l D0, A3
00000E06 6704 beq +0x6 /* 00000E0C */
00000E08 4A93 tst.l [A3]
00000E0A 6632 bne +0x34 /* 00000E3E */
label00000E0C:
00000E0C 4AAC 0034 tst.l [A4 + 0x34]
00000E10 662C bne +0x2E /* 00000E3E */
00000E12 598F subq.l A7, 4
00000E14 2F2C 0030 move.l -[A7], [A4 + 0x30]
00000E18 3F2C 002E move.w -[A7], [A4 + 0x2E]
00000E1C A81F syscall Get1Resource
00000E1E 2657 movea.l A3, [A7]
00000E20 A9A2 syscall LoadResource
00000E22 2F0B move.l -[A7], A3
00000E24 A992 syscall DetachResource
00000E26 200B move.l D0, A3
00000E28 6714 beq +0x16 /* 00000E3E */
00000E2A 4A93 tst.l [A3]
00000E2C 6710 beq +0x12 /* 00000E3E */
00000E2E 558F subq.l A7, 2
00000E30 2F07 move.l -[A7], D7
00000E32 4EBA FEB0 jsr [PC - 0x150 /* 00000CE4 */]
00000E36 2978 0904 0034 move.l [A4 + 0x34], [0x00000904 /* CurrentA5 */]
00000E3C 544F addq.w A7, 2
label00000E3E:
00000E3E 558F subq.l A7, 2
00000E40 3F06 move.w -[A7], D6
00000E42 4EBA FDBE jsr [PC - 0x242 /* 00000C02 */]
00000E46 200B move.l D0, A3
00000E48 544F addq.w A7, 2
00000E4A 6704 beq +0x6 /* 00000E50 */
00000E4C 4A93 tst.l [A3]
00000E4E 6608 bne +0xA /* 00000E58 */
label00000E50:
00000E50 3D7C FF94 000C move.w [A6 + 0xC], 0xFF94
00000E56 6022 bra +0x24 /* 00000E7A */
label00000E58:
00000E58 206C 003C movea.l A0, [A4 + 0x3C]
00000E5C A023 syscall DisposHandle/DisposeHandle
00000E5E 294B 003C move.l [A4 + 0x3C], A3
label00000E62:
00000E62 206C 003C movea.l A0, [A4 + 0x3C]
00000E66 A029 syscall HLock
00000E68 206C 003C movea.l A0, [A4 + 0x3C]
00000E6C 2010 move.l D0, [A0]
00000E6E A055 syscall StripAddress
00000E70 2880 move.l [A4], D0
label00000E72:
00000E72 526C 002A addq.w [A4 + 0x2A], 1
00000E76 426E 000C clr.w [A6 + 0xC]
label00000E7A:
00000E7A 4CEE 18C0 FFEC movem.l D6,D7,A3,A4, [A6 - 0x14]
00000E80 4E5E unlink A6
00000E82 2E9F move.l [A7], [A7]+
00000E84 4E75 rts
fn00000E86:
00000E86 4E56 0000 link A6, 0
00000E8A 2F0C move.l -[A7], A4
00000E8C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000E90 4EBA F9E4 jsr [PC - 0x61C /* 00000876 */]
00000E94 2840 movea.l A4, D0
00000E96 200C move.l D0, A4
00000E98 584F addq.w A7, 4
00000E9A 6608 bne +0xA /* 00000EA4 */
00000E9C 3D7C F448 000C move.w [A6 + 0xC], 0xF448
00000EA2 6020 bra +0x22 /* 00000EC4 */
label00000EA4:
00000EA4 536C 002A subq.w [A4 + 0x2A], 1
00000EA8 4A6C 002C tst.w [A4 + 0x2C]
00000EAC 6D12 blt +0x14 /* 00000EC0 */
00000EAE 4A6C 002A tst.w [A4 + 0x2A]
00000EB2 660C bne +0xE /* 00000EC0 */
00000EB4 206C 003C movea.l A0, [A4 + 0x3C]
00000EB8 A02A syscall HUnlock
00000EBA 206C 003C movea.l A0, [A4 + 0x3C]
00000EBE A049 syscall HPurge
label00000EC0:
00000EC0 426E 000C clr.w [A6 + 0xC]
label00000EC4:
00000EC4 286E FFFC movea.l A4, [A6 - 0x4]
00000EC8 4E5E unlink A6
00000ECA 2E9F move.l [A7], [A7]+
00000ECC 4E75 rts
00000ECE 4E56 FFFC link A6, -0x0004
00000ED2 48E7 0118 movem.l -[A7], D7,A3,A4
00000ED6 2E2E 0010 move.l D7, [A6 + 0x10]
00000EDA 7000 moveq.l D0, 0x00
00000EDC 2840 movea.l A4, D0
00000EDE 2F2E 000C move.l -[A7], [A6 + 0xC]
00000EE2 4EBA F992 jsr [PC - 0x66E /* 00000876 */]
00000EE6 2640 movea.l A3, D0
00000EE8 200B move.l D0, A3
00000EEA 584F addq.w A7, 4
00000EEC 670A beq +0xC /* 00000EF8 */
00000EEE 202E 0008 move.l D0, [A6 + 0x8]
00000EF2 A055 syscall StripAddress
00000EF4 B093 cmp.l D0, [A3]
00000EF6 6708 beq +0xA /* 00000F00 */
label00000EF8:
00000EF8 7000 moveq.l D0, 0x00
00000EFA 2D40 0014 move.l [A6 + 0x14], D0
00000EFE 6044 bra +0x46 /* 00000F44 */
label00000F00:
00000F00 4A87 tst.l D7
00000F02 672A beq +0x2C /* 00000F2E */
00000F04 2F07 move.l -[A7], D7
00000F06 4EBA F912 jsr [PC - 0x6EE /* 0000081A */]
00000F0A 2840 movea.l A4, D0
00000F0C 200C move.l D0, A4
00000F0E 584F addq.w A7, 4
00000F10 6714 beq +0x16 /* 00000F26 */
00000F12 2054 movea.l A0, [A4]
00000F14 2D48 FFFC move.l [A6 - 0x4], A0
00000F18 202E 0008 move.l D0, [A6 + 0x8]
00000F1C A055 syscall StripAddress
00000F1E 206E FFFC movea.l A0, [A6 - 0x4]
00000F22 B090 cmp.l D0, [A0]
00000F24 6708 beq +0xA /* 00000F2E */
label00000F26:
00000F26 7000 moveq.l D0, 0x00
00000F28 2D40 0014 move.l [A6 + 0x14], D0
00000F2C 6016 bra +0x18 /* 00000F44 */
label00000F2E:
00000F2E 2F0B move.l -[A7], A3
00000F30 2F0C move.l -[A7], A4
00000F32 4EBA FD28 jsr [PC - 0x2D8 /* 00000C5C */]
00000F36 508F addq.l A7, 8
00000F38 2F00 move.l -[A7], D0
00000F3A 4EBA FCEE jsr [PC - 0x312 /* 00000C2A */]
00000F3E 2D40 0014 move.l [A6 + 0x14], D0
00000F42 584F addq.w A7, 4
label00000F44:
00000F44 4CEE 1880 FFF0 movem.l D7,A3,A4, [A6 - 0x10]
00000F4A 4E5E unlink A6
00000F4C 205F movea.l A0, [A7]+
00000F4E 4FEF 000C lea.l A7, [A7 + 0xC]
00000F52 4ED0 jmp [A0]
fn00000F54:
00000F54 4E56 0000 link A6, 0
00000F58 48E7 0118 movem.l -[A7], D7,A3,A4
00000F5C 2E2E 0008 move.l D7, [A6 + 0x8]
00000F60 2F07 move.l -[A7], D7
00000F62 4EBA F912 jsr [PC - 0x6EE /* 00000876 */]
00000F66 2640 movea.l A3, D0
00000F68 200B move.l D0, A3
00000F6A 584F addq.w A7, 4
00000F6C 662A bne +0x2C /* 00000F98 */
00000F6E 3D7C F448 000C move.w [A6 + 0xC], 0xF448
00000F74 6034 bra +0x36 /* 00000FAA */
label00000F76:
00000F76 2F0B move.l -[A7], A3
00000F78 7000 moveq.l D0, 0x00
00000F7A 2F00 move.l -[A7], D0
00000F7C 4EBA FCDE jsr [PC - 0x322 /* 00000C5C */]
00000F80 2840 movea.l A4, D0
00000F82 200C move.l D0, A4
00000F84 504F addq.w A7, 8
00000F86 558F subq.l A7, 2
00000F88 2F0C move.l -[A7], A4
00000F8A 4EBA FC9E jsr [PC - 0x362 /* 00000C2A */]
00000F8E 588F addq.l A7, 4
00000F90 2F00 move.l -[A7], D0
00000F92 4EBA 04EA jsr [PC + 0x4EA /* 0000147E */]
00000F96 544F addq.w A7, 2
label00000F98:
00000F98 4A6B 002A tst.w [A3 + 0x2A]
00000F9C 66D8 bne -0x26 /* 00000F76 */
00000F9E 558F subq.l A7, 2
00000FA0 2F07 move.l -[A7], D7
00000FA2 4EBA F9A6 jsr [PC - 0x65A /* 0000094A */]
00000FA6 3D5F 000C move.w [A6 + 0xC], [A7]+
label00000FAA:
00000FAA 4CEE 1880 FFF4 movem.l D7,A3,A4, [A6 - 0xC]
00000FB0 4E5E unlink A6
00000FB2 2E9F move.l [A7], [A7]+
00000FB4 4E75 rts
fn00000FB6:
00000FB6 4E56 0000 link A6, 0
00000FBA 48E7 0118 movem.l -[A7], D7,A3,A4
00000FBE 266E 0008 movea.l A3, [A6 + 0x8]
00000FC2 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00000FC6 2850 movea.l A4, [A0]
00000FC8 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00000FCC 3E28 000E move.w D7, [A0 + 0xE]
00000FD0 5347 subq.w D7, 1
00000FD2 4A47 tst.w D7
00000FD4 6D2E blt +0x30 /* 00001004 */
label00000FD6:
00000FD6 4A94 tst.l [A4]
00000FD8 6722 beq +0x24 /* 00000FFC */
00000FDA B7EC 0008 cmpa.l A3, [A4 + 0x8]
00000FDE 641C bcc +0x1E /* 00000FFC */
00000FE0 202C 0008 move.l D0, [A4 + 0x8]
00000FE4 B0AE 000C cmp.l D0, [A6 + 0xC]
00000FE8 6412 bcc +0x14 /* 00000FFC */
00000FEA 558F subq.l A7, 2
00000FEC 2F0C move.l -[A7], A4
00000FEE 4EBA FC3A jsr [PC - 0x3C6 /* 00000C2A */]
00000FF2 588F addq.l A7, 4
00000FF4 2F00 move.l -[A7], D0
00000FF6 4EBA 0486 jsr [PC + 0x486 /* 0000147E */]
00000FFA 544F addq.w A7, 2
label00000FFC:
00000FFC 49EC 0010 lea.l A4, [A4 + 0x10]
00001000 51CF FFD4 dbf D7, -0x2E /* 00000FD6 */
label00001004:
00001004 4CEE 1880 FFF4 movem.l D7,A3,A4, [A6 - 0xC]
0000100A 4E5E unlink A6
0000100C 4E75 rts
fn0000100E:
0000100E 4E56 0000 link A6, 0
00001012 48E7 0018 movem.l -[A7], A3,A4
00001016 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
0000101A 2868 001C movea.l A4, [A0 + 0x1C]
0000101E 6028 bra +0x2A /* 00001048 */
label00001020:
00001020 264C movea.l A3, A4
00001022 286C 0038 movea.l A4, [A4 + 0x38]
00001026 2013 move.l D0, [A3]
00001028 B0AE 0008 cmp.l D0, [A6 + 0x8]
0000102C 631A bls +0x1C /* 00001048 */
0000102E 2013 move.l D0, [A3]
00001030 B0AE 000C cmp.l D0, [A6 + 0xC]
00001034 6412 bcc +0x14 /* 00001048 */
00001036 558F subq.l A7, 2
00001038 2F0B move.l -[A7], A3
0000103A 4EBA F442 jsr [PC - 0xBBE /* 0000047E */]
0000103E 588F addq.l A7, 4
00001040 2F00 move.l -[A7], D0
00001042 4EBA FF10 jsr [PC - 0xF0 /* 00000F54 */]
00001046 544F addq.w A7, 2
label00001048:
00001048 200C move.l D0, A4
0000104A 66D4 bne -0x2A /* 00001020 */
0000104C 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
00001052 4E5E unlink A6
00001054 4E75 rts
00001056 4E56 0000 link A6, 0
0000105A 48E7 0118 movem.l -[A7], D7,A3,A4
0000105E 2878 02AA movea.l A4, [0x000002AA /* ApplZone */]
00001062 B9F8 02A6 cmpa.l A4, [0x000002A6 /* SysZone */]
00001066 6764 beq +0x66 /* 000010CC */
00001068 598F subq.l A7, 4
0000106A 3F3C A88F move.w -[A7], 0xA88F
0000106E 7001 moveq.l D0, 0x01
00001070 1F00 move.b -[A7], D0
00001072 4EBA 079E jsr [PC + 0x79E /* 00001812 */]
00001076 598F subq.l A7, 4
00001078 3F3C A89F move.w -[A7], 0xA89F
0000107C 7001 moveq.l D0, 0x01
0000107E 1F00 move.b -[A7], D0
00001080 4EBA 0790 jsr [PC + 0x790 /* 00001812 */]
00001084 201F move.l D0, [A7]+
00001086 B09F cmp.l D0, [A7]+
00001088 6606 bne +0x8 /* 00001090 */
0000108A 2678 010C movea.l A3, [0x0000010C /* BufPtr */]
0000108E 6028 bra +0x2A /* 000010B8 */
label00001090:
00001090 200C move.l D0, A4
00001092 5180 subq.l D0, 8
00001094 2040 movea.l A0, D0
00001096 2E10 move.l D7, [A0]
00001098 2007 move.l D0, D7
0000109A 4240 clr.w D0
0000109C 4840 swap.w D0
0000109E E048 lsr D0.w, 8
000010A0 0C80 0000 0080 cmpi.l D0, 0x80
000010A6 660E bne +0x10 /* 000010B6 */
000010A8 203C 00FF FFFF move.l D0, 0xFFFFFF
000010AE C087 and.l D0, D7
000010B0 2640 movea.l A3, D0
000010B2 D7CC add.l A3, A4
000010B4 6002 bra +0x4 /* 000010B8 */
label000010B6:
000010B6 2654 movea.l A3, [A4]
label000010B8:
000010B8 2F0B move.l -[A7], A3
000010BA 2F0C move.l -[A7], A4
000010BC 4EBA FEF8 jsr [PC - 0x108 /* 00000FB6 */]
000010C0 2F0B move.l -[A7], A3
000010C2 2F0C move.l -[A7], A4
000010C4 4EBA FF48 jsr [PC - 0xB8 /* 0000100E */]
000010C8 4FEF 0010 lea.l A7, [A7 + 0x10]
label000010CC:
000010CC 4CEE 1880 FFF4 movem.l D7,A3,A4, [A6 - 0xC]
000010D2 4E5E unlink A6
000010D4 4E75 rts
fn000010D6:
000010D6 4E56 0000 link A6, 0
000010DA 48E7 0108 movem.l -[A7], D7,A4
000010DE 2E2E 000C move.l D7, [A6 + 0xC]
000010E2 6714 beq +0x16 /* 000010F8 */
000010E4 2F07 move.l -[A7], D7
000010E6 4EBA F78E jsr [PC - 0x872 /* 00000876 */]
000010EA 2840 movea.l A4, D0
000010EC 200C move.l D0, A4
000010EE 584F addq.w A7, 4
000010F0 6706 beq +0x8 /* 000010F8 */
000010F2 286C 0038 movea.l A4, [A4 + 0x38]
000010F6 6008 bra +0xA /* 00001100 */
label000010F8:
000010F8 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
000010FC 2868 001C movea.l A4, [A0 + 0x1C]
label00001100:
00001100 2F0C move.l -[A7], A4
00001102 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001106 4EBA F3C8 jsr [PC - 0xC38 /* 000004D0 */]
0000110A 2D40 0010 move.l [A6 + 0x10], D0
0000110E 504F addq.w A7, 8
00001110 4CEE 1080 FFF8 movem.l D7,A4, [A6 - 0x8]
00001116 4E5E unlink A6
00001118 205F movea.l A0, [A7]+
0000111A 504F addq.w A7, 8
0000111C 4ED0 jmp [A0]
fn0000111E:
0000111E 4E56 0000 link A6, 0
00001122 48E7 0118 movem.l -[A7], D7,A3,A4
00001126 266E 000C movea.l A3, [A6 + 0xC]
0000112A 286E 0008 movea.l A4, [A6 + 0x8]
0000112E 200B move.l D0, A3
00001130 6728 beq +0x2A /* 0000115A */
00001132 200C move.l D0, A4
00001134 6720 beq +0x22 /* 00001156 */
00001136 4A94 tst.l [A4]
00001138 671C beq +0x1E /* 00001156 */
0000113A 204C movea.l A0, A4
0000113C A025 syscall GetHandleSize
0000113E 2E00 move.l D7, D0
00001140 204B movea.l A0, A3
00001142 2007 move.l D0, D7
00001144 A024 syscall SetHandleSize
00001146 4A78 0220 tst.w [0x00000220 /* MemErr */]
0000114A 660A bne +0xC /* 00001156 */
0000114C 2054 movea.l A0, [A4]
0000114E 2253 movea.l A1, [A3]
00001150 2007 move.l D0, D7
00001152 A02E syscall BlockMove/BlockMoveData
00001154 6004 bra +0x6 /* 0000115A */
label00001156:
00001156 204B movea.l A0, A3
00001158 A02B syscall EmptyHandle
label0000115A:
0000115A 4CEE 1880 FFF4 movem.l D7,A3,A4, [A6 - 0xC]
00001160 4E5E unlink A6
00001162 4E75 rts
fn00001164:
00001164 4E56 0000 link A6, 0
00001168 48E7 0018 movem.l -[A7], A3,A4
0000116C 266E 0014 movea.l A3, [A6 + 0x14]
00001170 2F2E 0018 move.l -[A7], [A6 + 0x18]
00001174 4EBA F700 jsr [PC - 0x900 /* 00000876 */]
00001178 2840 movea.l A4, D0
0000117A 200C move.l D0, A4
0000117C 584F addq.w A7, 4
0000117E 6740 beq +0x42 /* 000011C0 */
00001180 200B move.l D0, A3
00001182 670E beq +0x10 /* 00001192 */
00001184 204C movea.l A0, A4
00001186 5888 addq.l A0, 4
00001188 224B movea.l A1, A3
0000118A 7004 moveq.l D0, 0x04
label0000118C:
0000118C 22D8 move.l [A1]+, [A0]+
0000118E 51C8 FFFC dbf D0, -0x6 /* 0000118C */
label00001192:
00001192 2F2E 0010 move.l -[A7], [A6 + 0x10]
00001196 2F2C 001C move.l -[A7], [A4 + 0x1C]
0000119A 4EBA FF82 jsr [PC - 0x7E /* 0000111E */]
0000119E 2F2E 000C move.l -[A7], [A6 + 0xC]
000011A2 2F2C 0020 move.l -[A7], [A4 + 0x20]
000011A6 4EBA FF76 jsr [PC - 0x8A /* 0000111E */]
000011AA 2F2E 0008 move.l -[A7], [A6 + 0x8]
000011AE 2F2C 0024 move.l -[A7], [A4 + 0x24]
000011B2 4EBA FF6A jsr [PC - 0x96 /* 0000111E */]
000011B6 426E 001C clr.w [A6 + 0x1C]
000011BA 4FEF 0018 lea.l A7, [A7 + 0x18]
000011BE 6006 bra +0x8 /* 000011C6 */
label000011C0:
000011C0 3D7C F448 001C move.w [A6 + 0x1C], 0xF448
label000011C6:
000011C6 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
000011CC 4E5E unlink A6
000011CE 205F movea.l A0, [A7]+
000011D0 4FEF 0014 lea.l A7, [A7 + 0x14]
000011D4 4ED0 jmp [A0]
000011D6 4E56 0000 link A6, 0
000011DA 2F0C move.l -[A7], A4
000011DC 2F2E 0008 move.l -[A7], [A6 + 0x8]
000011E0 4EBA F694 jsr [PC - 0x96C /* 00000876 */]
000011E4 2840 movea.l A4, D0
000011E6 200C move.l D0, A4
000011E8 584F addq.w A7, 4
000011EA 6708 beq +0xA /* 000011F4 */
000011EC 2D6C 0014 000C move.l [A6 + 0xC], [A4 + 0x14]
000011F2 6006 bra +0x8 /* 000011FA */
label000011F4:
000011F4 7000 moveq.l D0, 0x00
000011F6 2D40 000C move.l [A6 + 0xC], D0
label000011FA:
000011FA 286E FFFC movea.l A4, [A6 - 0x4]
000011FE 4E5E unlink A6
00001200 2E9F move.l [A7], [A7]+
00001202 4E75 rts
00001204 4E56 0000 link A6, 0
00001208 2F0C move.l -[A7], A4
0000120A 2F2E 000C move.l -[A7], [A6 + 0xC]
0000120E 4EBA F666 jsr [PC - 0x99A /* 00000876 */]
00001212 2840 movea.l A4, D0
00001214 200C move.l D0, A4
00001216 584F addq.w A7, 4
00001218 6706 beq +0x8 /* 00001220 */
0000121A 296E 0008 0014 move.l [A4 + 0x14], [A6 + 0x8]
label00001220:
00001220 286E FFFC movea.l A4, [A6 - 0x4]
00001224 4E5E unlink A6
00001226 205F movea.l A0, [A7]+
00001228 504F addq.w A7, 8
0000122A 4ED0 jmp [A0]
0000122C 4E56 0000 link A6, 0
00001230 2F0C move.l -[A7], A4
00001232 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001236 4EBA F63E jsr [PC - 0x9C2 /* 00000876 */]
0000123A 2840 movea.l A4, D0
0000123C 200C move.l D0, A4
0000123E 584F addq.w A7, 4
00001240 6708 beq +0xA /* 0000124A */
00001242 2D6C 0018 000C move.l [A6 + 0xC], [A4 + 0x18]
00001248 6006 bra +0x8 /* 00001250 */
label0000124A:
0000124A 7000 moveq.l D0, 0x00
0000124C 2D40 000C move.l [A6 + 0xC], D0
label00001250:
00001250 286E FFFC movea.l A4, [A6 - 0x4]
00001254 4E5E unlink A6
00001256 2E9F move.l [A7], [A7]+
00001258 4E75 rts
0000125A 4E56 0000 link A6, 0
0000125E 2F0C move.l -[A7], A4
00001260 2F2E 000C move.l -[A7], [A6 + 0xC]
00001264 4EBA F610 jsr [PC - 0x9F0 /* 00000876 */]
00001268 2840 movea.l A4, D0
0000126A 200C move.l D0, A4
0000126C 584F addq.w A7, 4
0000126E 6706 beq +0x8 /* 00001276 */
00001270 296E 0008 0018 move.l [A4 + 0x18], [A6 + 0x8]
label00001276:
00001276 286E FFFC movea.l A4, [A6 - 0x4]
0000127A 4E5E unlink A6
0000127C 205F movea.l A0, [A7]+
0000127E 504F addq.w A7, 8
00001280 4ED0 jmp [A0]
00001282 4E56 0000 link A6, 0
00001286 2F0C move.l -[A7], A4
00001288 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000128C 4EBA F58C jsr [PC - 0xA74 /* 0000081A */]
00001290 2840 movea.l A4, D0
00001292 200C move.l D0, A4
00001294 584F addq.w A7, 4
00001296 6608 bne +0xA /* 000012A0 */
00001298 3D7C F448 000C move.w [A6 + 0xC], 0xF448
0000129E 6006 bra +0x8 /* 000012A6 */
label000012A0:
000012A0 3D6C 0006 000C move.w [A6 + 0xC], [A4 + 0x6]
label000012A6:
000012A6 286E FFFC movea.l A4, [A6 - 0x4]
000012AA 4E5E unlink A6
000012AC 2E9F move.l [A7], [A7]+
000012AE 4E75 rts
000012B0 4E56 0000 link A6, 0
000012B4 2F0C move.l -[A7], A4
000012B6 2F2E 000A move.l -[A7], [A6 + 0xA]
000012BA 4EBA F55E jsr [PC - 0xAA2 /* 0000081A */]
000012BE 2840 movea.l A4, D0
000012C0 200C move.l D0, A4
000012C2 584F addq.w A7, 4
000012C4 6706 beq +0x8 /* 000012CC */
000012C6 396E 0008 0006 move.w [A4 + 0x6], [A6 + 0x8]
label000012CC:
000012CC 286E FFFC movea.l A4, [A6 - 0x4]
000012D0 4E5E unlink A6
000012D2 205F movea.l A0, [A7]+
000012D4 5C4F addq.w A7, 6
000012D6 4ED0 jmp [A0]
000012D8 4E56 0000 link A6, 0
000012DC 2F0C move.l -[A7], A4
000012DE 2F2E 0008 move.l -[A7], [A6 + 0x8]
000012E2 4EBA F536 jsr [PC - 0xACA /* 0000081A */]
000012E6 2840 movea.l A4, D0
000012E8 200C move.l D0, A4
000012EA 584F addq.w A7, 4
000012EC 6608 bne +0xA /* 000012F6 */
000012EE 7000 moveq.l D0, 0x00
000012F0 2D40 000C move.l [A6 + 0xC], D0
000012F4 6006 bra +0x8 /* 000012FC */
label000012F6:
000012F6 2D6C 0008 000C move.l [A6 + 0xC], [A4 + 0x8]
label000012FC:
000012FC 286E FFFC movea.l A4, [A6 - 0x4]
00001300 4E5E unlink A6
00001302 2E9F move.l [A7], [A7]+
00001304 4E75 rts
00001306 4E56 0000 link A6, 0
0000130A 2F0C move.l -[A7], A4
0000130C 2F2E 000C move.l -[A7], [A6 + 0xC]
00001310 4EBA F508 jsr [PC - 0xAF8 /* 0000081A */]
00001314 2840 movea.l A4, D0
00001316 200C move.l D0, A4
00001318 584F addq.w A7, 4
0000131A 6706 beq +0x8 /* 00001322 */
0000131C 296E 0008 0008 move.l [A4 + 0x8], [A6 + 0x8]
label00001322:
00001322 286E FFFC movea.l A4, [A6 - 0x4]
00001326 4E5E unlink A6
00001328 205F movea.l A0, [A7]+
0000132A 504F addq.w A7, 8
0000132C 4ED0 jmp [A0]
0000132E 4E56 0000 link A6, 0
00001332 2F0C move.l -[A7], A4
00001334 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001338 4EBA F4E0 jsr [PC - 0xB20 /* 0000081A */]
0000133C 2840 movea.l A4, D0
0000133E 200C move.l D0, A4
00001340 584F addq.w A7, 4
00001342 6608 bne +0xA /* 0000134C */
00001344 7000 moveq.l D0, 0x00
00001346 2D40 000C move.l [A6 + 0xC], D0
0000134A 6006 bra +0x8 /* 00001352 */
label0000134C:
0000134C 2D6C 000C 000C move.l [A6 + 0xC], [A4 + 0xC]
label00001352:
00001352 286E FFFC movea.l A4, [A6 - 0x4]
00001356 4E5E unlink A6
00001358 2E9F move.l [A7], [A7]+
0000135A 4E75 rts
0000135C 4E56 0000 link A6, 0
00001360 2F0C move.l -[A7], A4
00001362 2F2E 000C move.l -[A7], [A6 + 0xC]
00001366 4EBA F4B2 jsr [PC - 0xB4E /* 0000081A */]
0000136A 2840 movea.l A4, D0
0000136C 200C move.l D0, A4
0000136E 584F addq.w A7, 4
00001370 6706 beq +0x8 /* 00001378 */
00001372 296E 0008 000C move.l [A4 + 0xC], [A6 + 0x8]
label00001378:
00001378 286E FFFC movea.l A4, [A6 - 0x4]
0000137C 4E5E unlink A6
0000137E 205F movea.l A0, [A7]+
00001380 504F addq.w A7, 8
00001382 4ED0 jmp [A0]
fn00001384:
00001384 4E56 0000 link A6, 0
00001388 48E7 0318 movem.l -[A7], D6,D7,A3,A4
0000138C 2E2E 0008 move.l D7, [A6 + 0x8]
00001390 2F07 move.l -[A7], D7
00001392 4EBA F4E2 jsr [PC - 0xB1E /* 00000876 */]
00001396 2640 movea.l A3, D0
00001398 200B move.l D0, A3
0000139A 584F addq.w A7, 4
0000139C 660A bne +0xC /* 000013A8 */
0000139E 7000 moveq.l D0, 0x00
000013A0 2D40 000C move.l [A6 + 0xC], D0
000013A4 6000 00CC bra +0xCE /* 00001472 */
label000013A8:
000013A8 558F subq.l A7, 2
000013AA 2F07 move.l -[A7], D7
000013AC 4EBA F9D6 jsr [PC - 0x62A /* 00000D84 */]
000013B0 4A5F tst.w [A7]+
000013B2 670A beq +0xC /* 000013BE */
000013B4 7000 moveq.l D0, 0x00
000013B6 2D40 000C move.l [A6 + 0xC], D0
000013BA 6000 00B6 bra +0xB8 /* 00001472 */
label000013BE:
000013BE 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
000013C2 2278 028A movea.l A1, [0x0000028A /* RSDHndl */]
000013C6 3028 000C move.w D0, [A0 + 0xC]
000013CA B069 000E cmp.w D0, [A1 + 0xE]
000013CE 6D18 blt +0x1A /* 000013E8 */
000013D0 7020 moveq.l D0, 0x20
000013D2 2F00 move.l -[A7], D0
000013D4 4EBA F026 jsr [PC - 0xFDA /* 000003FC */]
000013D8 4A40 tst.w D0
000013DA 584F addq.w A7, 4
000013DC 670A beq +0xC /* 000013E8 */
000013DE 7000 moveq.l D0, 0x00
000013E0 2D40 000C move.l [A6 + 0xC], D0
000013E4 6000 008C bra +0x8E /* 00001472 */
label000013E8:
000013E8 7000 moveq.l D0, 0x00
000013EA 2F00 move.l -[A7], D0
000013EC 2F00 move.l -[A7], D0
000013EE 4EBA F86C jsr [PC - 0x794 /* 00000C5C */]
000013F2 2840 movea.l A4, D0
000013F4 200C move.l D0, A4
000013F6 504F addq.w A7, 8
000013F8 6608 bne +0xA /* 00001402 */
000013FA 7000 moveq.l D0, 0x00
000013FC 2D40 000C move.l [A6 + 0xC], D0
00001400 6070 bra +0x72 /* 00001472 */
label00001402:
00001402 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00001406 5268 000C addq.w [A0 + 0xC], 1
0000140A 288B move.l [A4], A3
0000140C 7000 moveq.l D0, 0x00
0000140E 2940 0008 move.l [A4 + 0x8], D0
00001412 222B 0010 move.l D1, [A3 + 0x10]
00001416 4241 clr.w D1
00001418 4841 swap.w D1
0000141A EE49 lsr D1.w, 7
0000141C 243C 0000 0080 move.l D2, 0x80
00001422 B581 xor.l D1, D2
00001424 1941 0005 move.b [A4 + 0x5], D1
00001428 426C 0006 clr.w [A4 + 0x6]
0000142C 296B 0034 000C move.l [A4 + 0xC], [A3 + 0x34]
00001432 4A2C 0004 tst.b [A4 + 0x4]
00001436 6606 bne +0x8 /* 0000143E */
00001438 197C 0081 0004 move.b [A4 + 0x4], 0x81
label0000143E:
0000143E 2F0C move.l -[A7], A4
00001440 4EBA F7E8 jsr [PC - 0x818 /* 00000C2A */]
00001444 2E00 move.l D7, D0
00001446 598F subq.l A7, 4
00001448 2F07 move.l -[A7], D7
0000144A 2F07 move.l -[A7], D7
0000144C 2F3C 0004 FFFF move.l -[A7], 0x4FFFF
00001452 7000 moveq.l D0, 0x00
00001454 A82A syscall ComponentDispatch
00001456 2C1F move.l D6, [A7]+
00001458 584F addq.w A7, 4
0000145A 6712 beq +0x14 /* 0000146E */
0000145C 558F subq.l A7, 2
0000145E 2F07 move.l -[A7], D7
00001460 4EBA 001C jsr [PC + 0x1C /* 0000147E */]
00001464 7000 moveq.l D0, 0x00
00001466 2D40 000C move.l [A6 + 0xC], D0
0000146A 544F addq.w A7, 2
0000146C 6004 bra +0x6 /* 00001472 */
label0000146E:
0000146E 2D47 000C move.l [A6 + 0xC], D7
label00001472:
00001472 4CEE 18C0 FFF0 movem.l D6,D7,A3,A4, [A6 - 0x10]
00001478 4E5E unlink A6
0000147A 2E9F move.l [A7], [A7]+
0000147C 4E75 rts
fn0000147E:
0000147E 4E56 0000 link A6, 0
00001482 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00001486 2C2E 0008 move.l D6, [A6 + 0x8]
0000148A 2F06 move.l -[A7], D6
0000148C 4EBA F38C jsr [PC - 0xC74 /* 0000081A */]
00001490 2840 movea.l A4, D0
00001492 200C move.l D0, A4
00001494 584F addq.w A7, 4
00001496 6608 bne +0xA /* 000014A0 */
00001498 3D7C F448 000C move.w [A6 + 0xC], 0xF448
0000149E 6050 bra +0x52 /* 000014F0 */
label000014A0:
000014A0 2F0C move.l -[A7], A4
000014A2 4EBA F786 jsr [PC - 0x87A /* 00000C2A */]
000014A6 2E00 move.l D7, D0
000014A8 598F subq.l A7, 4
000014AA 2F07 move.l -[A7], D7
000014AC 2F07 move.l -[A7], D7
000014AE 2F3C 0004 FFFE move.l -[A7], 0x4FFFE
000014B4 7000 moveq.l D0, 0x00
000014B6 A82A syscall ComponentDispatch
000014B8 2A1F move.l D5, [A7]+
000014BA 558F subq.l A7, 2
000014BC 2F06 move.l -[A7], D6
000014BE 4EBA F9C6 jsr [PC - 0x63A /* 00000E86 */]
000014C2 2654 movea.l A3, [A4]
000014C4 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
000014C8 5368 000C subq.w [A0 + 0xC], 1
000014CC 7000 moveq.l D0, 0x00
000014CE 2880 move.l [A4], D0
000014D0 522C 0004 addq.b [A4 + 0x4], 1
000014D4 022C 007F 0004 andi.b [A4 + 0x4], 0x7F
000014DA 4A2C 0004 tst.b [A4 + 0x4]
000014DE 5C4F addq.w A7, 6
000014E0 6604 bne +0x6 /* 000014E6 */
000014E2 522C 0004 addq.b [A4 + 0x4], 1
label000014E6:
000014E6 002C 0080 0004 ori.b [A4 + 0x4], 0x80
000014EC 3D45 000C move.w [A6 + 0xC], D5
label000014F0:
000014F0 4CEE 18E0 FFEC movem.l D5,D6,D7,A3,A4, [A6 - 0x14]
000014F6 4E5E unlink A6
000014F8 2E9F move.l [A7], [A7]+
000014FA 4E75 rts
000014FC 4E56 FFEC link A6, -0x0014
00001500 48E7 0300 movem.l -[A7], D6,D7
00001504 7E00 moveq.l D7, 0x00
00001506 7C00 moveq.l D6, 0x00
00001508 2D6E 000C FFEC move.l [A6 - 0x14], [A6 + 0xC]
0000150E 2D6E 0008 FFF0 move.l [A6 - 0x10], [A6 + 0x8]
00001514 7000 moveq.l D0, 0x00
00001516 2D40 FFF4 move.l [A6 - 0xC], D0
0000151A 2D40 FFF8 move.l [A6 - 0x8], D0
0000151E 2D40 FFFC move.l [A6 - 0x4], D0
00001522 6022 bra +0x24 /* 00001546 */
label00001524:
00001524 598F subq.l A7, 4
00001526 2F07 move.l -[A7], D7
00001528 486E FFEC pea.l [A6 - 0x14]
0000152C 4EBA FBA8 jsr [PC - 0x458 /* 000010D6 */]
00001530 2E1F move.l D7, [A7]+
00001532 6608 bne +0xA /* 0000153C */
00001534 7000 moveq.l D0, 0x00
00001536 2D40 0010 move.l [A6 + 0x10], D0
0000153A 6012 bra +0x14 /* 0000154E */
label0000153C:
0000153C 598F subq.l A7, 4
0000153E 2F07 move.l -[A7], D7
00001540 4EBA FE42 jsr [PC - 0x1BE /* 00001384 */]
00001544 2C1F move.l D6, [A7]+
label00001546:
00001546 4A86 tst.l D6
00001548 67DA beq -0x24 /* 00001524 */
0000154A 2D46 0010 move.l [A6 + 0x10], D6
label0000154E:
0000154E 4CEE 00C0 FFE4 movem.l D6,D7, [A6 - 0x1C]
00001554 4E5E unlink A6
00001556 205F movea.l A0, [A7]+
00001558 504F addq.w A7, 8
0000155A 4ED0 jmp [A0]
0000155C 4E56 0000 link A6, 0
00001560 7000 moveq.l D0, 0x00
00001562 2D40 0008 move.l [A6 + 0x8], D0
00001566 4E5E unlink A6
00001568 4E75 rts
fn0000156A:
0000156A 4E56 0000 link A6, 0
0000156E 2F0C move.l -[A7], A4
00001570 286E 000A movea.l A4, [A6 + 0xA]
00001574 558F subq.l A7, 2
00001576 3F14 move.w -[A7], [A4]
00001578 2F2C 0002 move.l -[A7], [A4 + 0x2]
0000157C 486C 0006 pea.l [A4 + 0x6]
00001580 1F2E 0008 move.b -[A7], [A6 + 0x8]
00001584 4EBA 04A4 jsr [PC + 0x4A4 /* 00001A2A */]
00001588 3D5F 000E move.w [A6 + 0xE], [A7]+
0000158C 286E FFFC movea.l A4, [A6 - 0x4]
00001590 4E5E unlink A6
00001592 205F movea.l A0, [A7]+
00001594 5C4F addq.w A7, 6
00001596 4ED0 jmp [A0]
fn00001598:
00001598 4E56 FEC2 link A6, -0x013E
0000159C 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
000015A0 286E 000C movea.l A4, [A6 + 0xC]
000015A4 4245 clr.w D5
000015A6 558F subq.l A7, 2
000015A8 2F2E 0008 move.l -[A7], [A6 + 0x8]
000015AC A9A4 syscall HomeResFile
000015AE 3C1F move.w D6, [A7]+
000015B0 6C08 bge +0xA /* 000015BA */
000015B2 558F subq.l A7, 2
000015B4 A9AF syscall ResError
000015B6 301F move.w D0, [A7]+
000015B8 605A bra +0x5C /* 00001614 */
label000015BA:
000015BA 7000 moveq.l D0, 0x00
000015BC 2D40 FECE move.l [A6 - 0x132], D0
000015C0 426E FED8 clr.w [A6 - 0x128]
000015C4 3D46 FEDA move.w [A6 - 0x126], D6
000015C8 426E FEDE clr.w [A6 - 0x122]
000015CC 41EE FF00 lea.l A0, [A6 - 0x100]
000015D0 4210 clr.b [A0]
000015D2 2D48 FED4 move.l [A6 - 0x12C], A0
000015D6 41EE FEC2 lea.l A0, [A6 - 0x13E]
000015DA 7008 moveq.l D0, 0x08
000015DC A260 syscall FSDispatch/HFSDispatch, flags=2
000015DE 3A00 move.w D5, D0
000015E0 6630 bne +0x32 /* 00001612 */
000015E2 38AE FEF6 move.w [A4], [A6 - 0x10A]
000015E6 296E FEFC 0002 move.l [A4 + 0x2], [A6 - 0x104]
000015EC 266E FED4 movea.l A3, [A6 - 0x12C]
000015F0 1013 move.b D0, [A3]
000015F2 4880 ext.w D0
000015F4 3E00 move.w D7, D0
000015F6 5247 addq.w D7, 1
000015F8 7000 moveq.l D0, 0x00
000015FA 1007 move.b D0, D7
000015FC 0C00 003F cmpi.b D0, 0x3F /* '?' */
00001600 6302 bls +0x4 /* 00001604 */
00001602 7E3F moveq.l D7, 0x3F
label00001604:
00001604 204B movea.l A0, A3
00001606 224C movea.l A1, A4
00001608 5C89 addq.l A1, 6
0000160A 7000 moveq.l D0, 0x00
0000160C 1007 move.b D0, D7
0000160E 4A80 tst.l D0
00001610 A02E syscall BlockMove/BlockMoveData
label00001612:
00001612 3005 move.w D0, D5
label00001614:
00001614 4CEE 18E0 FEAE movem.l D5,D6,D7,A3,A4, [A6 - 0x152]
0000161A 4E5E unlink A6
0000161C 4E75 rts
fn0000161E:
0000161E 4E56 0000 link A6, 0
00001622 48E7 1018 movem.l -[A7], D3,A3,A4
00001626 266E 000C movea.l A3, [A6 + 0xC]
0000162A 286E 0008 movea.l A4, [A6 + 0x8]
0000162E 7600 moveq.l D3, 0x00
00001630 3014 move.w D0, [A4]
00001632 B053 cmp.w D0, [A3]
00001634 662C bne +0x2E /* 00001662 */
00001636 202C 0002 move.l D0, [A4 + 0x2]
0000163A B0AB 0002 cmp.l D0, [A3 + 0x2]
0000163E 6622 bne +0x24 /* 00001662 */
00001640 2F03 move.l -[A7], D3
00001642 558F subq.l A7, 2
00001644 486C 0006 pea.l [A4 + 0x6]
00001648 486B 0006 pea.l [A3 + 0x6]
0000164C 7000 moveq.l D0, 0x00
0000164E 1F00 move.b -[A7], D0
00001650 7201 moveq.l D1, 0x01
00001652 1F01 move.b -[A7], D1
00001654 4EBA 0256 jsr [PC + 0x256 /* 000018AC */]
00001658 301F move.w D0, [A7]+
0000165A 261F move.l D3, [A7]+
0000165C 4A40 tst.w D0
0000165E 6602 bne +0x4 /* 00001662 */
00001660 7601 moveq.l D3, 0x01
label00001662:
00001662 1003 move.b D0, D3
00001664 4CEE 1808 FFF4 movem.l D3,A3,A4, [A6 - 0xC]
0000166A 4E5E unlink A6
0000166C 4E75 rts
fn0000166E:
0000166E 4E56 0000 link A6, 0
00001672 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00001676 266E 0008 movea.l A3, [A6 + 0x8]
0000167A 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
0000167E 2868 0024 movea.l A4, [A0 + 0x24]
00001682 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00001686 3A28 0012 move.w D5, [A0 + 0x12]
0000168A 4247 clr.w D7
0000168C 6026 bra +0x28 /* 000016B4 */
label0000168E:
0000168E 4A6C 0002 tst.w [A4 + 0x2]
00001692 6716 beq +0x18 /* 000016AA */
00001694 2F0B move.l -[A7], A3
00001696 486C 0002 pea.l [A4 + 0x2]
0000169A 4EBA FF82 jsr [PC - 0x7E /* 0000161E */]
0000169E 4A00 tst.b D0
000016A0 504F addq.w A7, 8
000016A2 6708 beq +0xA /* 000016AC */
000016A4 5254 addq.w [A4], 1
000016A6 3007 move.w D0, D7
000016A8 6046 bra +0x48 /* 000016F0 */
label000016AA:
000016AA 3C07 move.w D6, D7
label000016AC:
000016AC 49EC 0048 lea.l A4, [A4 + 0x48]
000016B0 3007 move.w D0, D7
000016B2 5247 addq.w D7, 1
label000016B4:
000016B4 BA47 cmp.w D5, D7
000016B6 6ED6 bgt -0x28 /* 0000168E */
000016B8 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
000016BC 48C6 ext.l D6
000016BE 2206 move.l D1, D6
000016C0 2001 move.l D0, D1
000016C2 C2FC 0048 mulu.w D1, 0x48 /* 'H' */
000016C6 4840 swap.w D0
000016C8 C0FC 0048 mulu.w D0, 0x48 /* 'H' */
000016CC 4840 swap.w D0
000016CE 4240 clr.w D0
000016D0 D280 add.l D1, D0
000016D2 2841 movea.l A4, D1
000016D4 D9E8 0024 add.l A4, [A0 + 0x24]
000016D8 204B movea.l A0, A3
000016DA 224C movea.l A1, A4
000016DC 5489 addq.l A1, 2
000016DE 7046 moveq.l D0, 0x46
000016E0 A02E syscall BlockMove/BlockMoveData
000016E2 38BC 0001 move.w [A4], 0x1
000016E6 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
000016EA 5268 0010 addq.w [A0 + 0x10], 1
000016EE 3006 move.w D0, D6
label000016F0:
000016F0 4CEE 18E0 FFEC movem.l D5,D6,D7,A3,A4, [A6 - 0x14]
000016F6 4E5E unlink A6
000016F8 4E75 rts
fn000016FA:
000016FA 4E56 FFFC link A6, -0x0004
000016FE 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00001702 3C2E 000A move.w D6, [A6 + 0xA]
00001706 2878 028A movea.l A4, [0x0000028A /* RSDHndl */]
0000170A 7E48 moveq.l D7, 0x48
0000170C CFEC 0012 muls.w D7, [A4 + 0x12]
00001710 266C 0024 movea.l A3, [A4 + 0x24]
00001714 48C6 ext.l D6
00001716 2206 move.l D1, D6
00001718 2001 move.l D0, D1
0000171A C2FC 0048 mulu.w D1, 0x48 /* 'H' */
0000171E 4840 swap.w D0
00001720 C0FC 0048 mulu.w D0, 0x48 /* 'H' */
00001724 4840 swap.w D0
00001726 4240 clr.w D0
00001728 D280 add.l D1, D0
0000172A D287 add.l D1, D7
0000172C 2001 move.l D0, D1
0000172E A71E syscall NewPtrSysClear, flags=7
00001730 2848 movea.l A4, A0
00001732 2D4C FFFC move.l [A6 - 0x4], A4
00001736 200C move.l D0, A4
00001738 6606 bne +0x8 /* 00001740 */
0000173A 3038 0220 move.w D0, [0x00000220 /* MemErr */]
0000173E 6024 bra +0x26 /* 00001764 */
label00001740:
00001740 204B movea.l A0, A3
00001742 224C movea.l A1, A4
00001744 2007 move.l D0, D7
00001746 A02E syscall BlockMove/BlockMoveData
00001748 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
0000174C 216E FFFC 0024 move.l [A0 + 0x24], [A6 - 0x4]
00001752 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00001756 DD68 0012 add.w [A0 + 0x12], D6
0000175A 200B move.l D0, A3
0000175C 6704 beq +0x6 /* 00001762 */
0000175E 204B movea.l A0, A3
00001760 A01F syscall DisposPtr/DisposePtr
label00001762:
00001762 7000 moveq.l D0, 0x00
label00001764:
00001764 4CEE 18C0 FFEC movem.l D6,D7,A3,A4, [A6 - 0x14]
0000176A 4E5E unlink A6
0000176C 4E75 rts
fn0000176E:
0000176E 4E56 FFBA link A6, -0x0046
00001772 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00001776 2278 028A movea.l A1, [0x0000028A /* RSDHndl */]
0000177A 3028 0010 move.w D0, [A0 + 0x10]
0000177E B069 0012 cmp.w D0, [A1 + 0x12]
00001782 6D12 blt +0x14 /* 00001796 */
00001784 7001 moveq.l D0, 0x01
00001786 2F00 move.l -[A7], D0
00001788 4EBA FF70 jsr [PC - 0x90 /* 000016FA */]
0000178C 4A40 tst.w D0
0000178E 584F addq.w A7, 4
00001790 6704 beq +0x6 /* 00001796 */
00001792 70FF moveq.l D0, 0xFFFFFFFF
00001794 6020 bra +0x22 /* 000017B6 */
label00001796:
00001796 486E FFBA pea.l [A6 - 0x46]
0000179A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000179E 4EBA FDF8 jsr [PC - 0x208 /* 00001598 */]
000017A2 4A40 tst.w D0
000017A4 504F addq.w A7, 8
000017A6 6704 beq +0x6 /* 000017AC */
000017A8 70FF moveq.l D0, 0xFFFFFFFF
000017AA 600A bra +0xC /* 000017B6 */
label000017AC:
000017AC 486E FFBA pea.l [A6 - 0x46]
000017B0 4EBA FEBC jsr [PC - 0x144 /* 0000166E */]
000017B4 584F addq.w A7, 4
label000017B6:
000017B6 4E5E unlink A6
000017B8 4E75 rts
fn000017BA:
000017BA 4E56 0000 link A6, 0
000017BE 48E7 0108 movem.l -[A7], D7,A4
000017C2 3E2E 000A move.w D7, [A6 + 0xA]
000017C6 6D0A blt +0xC /* 000017D2 */
000017C8 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
000017CC BE68 0012 cmp.w D7, [A0 + 0x12]
000017D0 6D04 blt +0x6 /* 000017D6 */
label000017D2:
000017D2 70FF moveq.l D0, 0xFFFFFFFF
000017D4 6032 bra +0x34 /* 00001808 */
label000017D6:
000017D6 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
000017DA 48C7 ext.l D7
000017DC 2207 move.l D1, D7
000017DE 2001 move.l D0, D1
000017E0 C2FC 0048 mulu.w D1, 0x48 /* 'H' */
000017E4 4840 swap.w D0
000017E6 C0FC 0048 mulu.w D0, 0x48 /* 'H' */
000017EA 4840 swap.w D0
000017EC 4240 clr.w D0
000017EE D280 add.l D1, D0
000017F0 2841 movea.l A4, D1
000017F2 D9E8 0024 add.l A4, [A0 + 0x24]
000017F6 5354 subq.w [A4], 1
000017F8 660C bne +0xE /* 00001806 */
000017FA 426C 0002 clr.w [A4 + 0x2]
000017FE 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
00001802 5368 0010 subq.w [A0 + 0x10], 1
label00001806:
00001806 7000 moveq.l D0, 0x00
label00001808:
00001808 4CEE 1080 FFF8 movem.l D7,A4, [A6 - 0x8]
0000180E 4E5E unlink A6
00001810 4E75 rts
fn00001812:
00001812 225F movea.l A1, [A7]+
00001814 121F move.b D1, [A7]+
00001816 301F move.w D0, [A7]+
00001818 4A01 tst.b D1
0000181A 6704 beq +0x6 /* 00001820 */
0000181C A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
0000181E 6002 bra +0x4 /* 00001822 */
label00001820:
00001820 A346 syscall GetOSTrapAddress, flags=3
label00001822:
00001822 2E88 move.l [A7], A0
00001824 4ED1 jmp [A1]
fn00001826:
00001826 4E56 FFCE link A6, -0x0032
0000182A 204F movea.l A0, A7
0000182C 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
00001832 A001 syscall Close
00001834 3D40 000A move.w [A6 + 0xA], D0
00001838 4E5E unlink A6
0000183A 205F movea.l A0, [A7]+
0000183C 548F addq.l A7, 2
0000183E 4ED0 jmp [A0]
fn00001840:
00001840 4E56 FFC0 link A6, -0x0040
00001844 204F movea.l A0, A7
00001846 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
0000184C 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00001852 A015 syscall SetVol/PBHSetVol/HSetVol
00001854 3D40 000E move.w [A6 + 0xE], D0
00001858 4E5E unlink A6
0000185A 225F movea.l A1, [A7]+
0000185C 5C8F addq.l A7, 6
0000185E 4ED1 jmp [A1]
fn00001860:
00001860 225F movea.l A1, [A7]+
00001862 101F move.b D0, [A7]+
00001864 205F movea.l A0, [A7]+
00001866 6604 bne +0x6 /* 0000186C */
00001868 A215 syscall SetVol/PBHSetVol/HSetVol, flags=2
0000186A 6002 bra +0x4 /* 0000186E */
label0000186C:
0000186C A615 syscall SetVol/PBHSetVol/HSetVol, flags=6
label0000186E:
0000186E 3E80 move.w [A7], D0
00001870 4ED1 jmp [A1]
fn00001872:
00001872 225F movea.l A1, [A7]+
00001874 101F move.b D0, [A7]+
00001876 205F movea.l A0, [A7]+
00001878 6604 bne +0x6 /* 0000187E */
0000187A A214 syscall GetVol/PBHGetVol/HGetVol, flags=2
0000187C 6002 bra +0x4 /* 00001880 */
label0000187E:
0000187E A614 syscall GetVol/PBHGetVol/HGetVol, flags=6
label00001880:
00001880 3E80 move.w [A7], D0
00001882 4ED1 jmp [A1]
fn00001884:
00001884 225F movea.l A1, [A7]+
00001886 101F move.b D0, [A7]+
00001888 205F movea.l A0, [A7]+
0000188A 6606 bne +0x8 /* 00001892 */
0000188C 7007 moveq.l D0, 0x07
0000188E A260 syscall FSDispatch/HFSDispatch, flags=2
00001890 6004 bra +0x6 /* 00001896 */
label00001892:
00001892 7007 moveq.l D0, 0x07
00001894 A660 syscall FSDispatch/HFSDispatch, flags=6
label00001896:
00001896 3E80 move.w [A7], D0
00001898 4ED1 jmp [A1]
fn0000189A:
0000189A 225F movea.l A1, [A7]+
0000189C 101F move.b D0, [A7]+
0000189E 205F movea.l A0, [A7]+
000018A0 6604 bne +0x6 /* 000018A6 */
000018A2 A20A syscall OpenRF/PBHOpenRF/HOpenRF, flags=2
000018A4 6002 bra +0x4 /* 000018A8 */
label000018A6:
000018A6 A60A syscall OpenRF/PBHOpenRF/HOpenRF, flags=6
label000018A8:
000018A8 3E80 move.w [A7], D0
000018AA 4ED1 jmp [A1]
fn000018AC:
000018AC 4E56 0000 link A6, 0
000018B0 206E 0010 movea.l A0, [A6 + 0x10]
000018B4 226E 000C movea.l A1, [A6 + 0xC]
000018B8 7000 moveq.l D0, 0x00
000018BA 1018 move.b D0, [A0]+
000018BC 4840 swap.w D0
000018BE 1019 move.b D0, [A1]+
000018C0 4A2E 0008 tst.b [A6 + 0x8]
000018C4 670E beq +0x10 /* 000018D4 */
000018C6 4A2E 000A tst.b [A6 + 0xA]
000018CA 6704 beq +0x6 /* 000018D0 */
000018CC A450 syscall RelString/CompareString, flags=4
000018CE 6010 bra +0x12 /* 000018E0 */
label000018D0:
000018D0 A050 syscall RelString/CompareString
000018D2 600C bra +0xE /* 000018E0 */
label000018D4:
000018D4 4A2E 000A tst.b [A6 + 0xA]
000018D8 6704 beq +0x6 /* 000018DE */
000018DA A650 syscall RelString/CompareString, flags=6
000018DC 6002 bra +0x4 /* 000018E0 */
label000018DE:
000018DE A250 syscall RelString/CompareString, flags=2
label000018E0:
000018E0 3D40 0014 move.w [A6 + 0x14], D0
000018E4 4E5E unlink A6
000018E6 205F movea.l A0, [A7]+
000018E8 4FEF 000C lea.l A7, [A7 + 0xC]
000018EC 4ED0 jmp [A0]
fn000018EE:
000018EE 4E56 FFCC link A6, -0x0034
000018F2 2F07 move.l -[A7], D7
000018F4 2D6E 0010 FFDE move.l [A6 - 0x22], [A6 + 0x10]
000018FA 558F subq.l A7, 2
000018FC 486E FFCC pea.l [A6 - 0x34]
00001900 7000 moveq.l D0, 0x00
00001902 1F00 move.b -[A7], D0
00001904 4EBA FF6C jsr [PC - 0x94 /* 00001872 */]
00001908 3E1F move.w D7, [A7]+
0000190A 206E 000C movea.l A0, [A6 + 0xC]
0000190E 30AE FFE2 move.w [A0], [A6 - 0x1E]
00001912 206E 0008 movea.l A0, [A6 + 0x8]
00001916 20AE FFFC move.l [A0], [A6 - 0x4]
0000191A 3D47 0014 move.w [A6 + 0x14], D7
0000191E 2E2E FFC8 move.l D7, [A6 - 0x38]
00001922 4E5E unlink A6
00001924 205F movea.l A0, [A7]+
00001926 4FEF 000C lea.l A7, [A7 + 0xC]
0000192A 4ED0 jmp [A0]
0000192C 8748 4745 pack -[A3], -[A0], 0x4745
00001930 5456 addq.w [A6], 2
00001932 4F4C chk.w D7, A4
00001934 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00001936-0000193A
fn00001936:
00001936 4E56 FFCC link A6, -0x0034
// end alternate branch 00001936-0000193A
fn00001936: // (misaligned)
00001938 FFCC .invalid <<F/7/7>>
0000193A 2D6E 000E FFDE move.l [A6 - 0x22], [A6 + 0xE]
00001940 3D6E 000C FFE2 move.w [A6 - 0x1E], [A6 + 0xC]
00001946 2D6E 0008 FFFC move.l [A6 - 0x4], [A6 + 0x8]
0000194C 558F subq.l A7, 2
0000194E 486E FFCC pea.l [A6 - 0x34]
00001952 7000 moveq.l D0, 0x00
00001954 1F00 move.b -[A7], D0
00001956 4EBA FF08 jsr [PC - 0xF8 /* 00001860 */]
0000195A 3D5F 0012 move.w [A6 + 0x12], [A7]+
0000195E 4E5E unlink A6
00001960 205F movea.l A0, [A7]+
00001962 4FEF 000A lea.l A7, [A7 + 0xA]
00001966 4ED0 jmp [A0]
00001968 8748 5345 pack -[A3], -[A0], 0x5345
0000196C 5456 addq.w [A6], 2
0000196E 4F4C chk.w D7, A4
00001970 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00001972-00001976
fn00001972:
00001972 4E56 FF86 link A6, -0x007A
// end alternate branch 00001972-00001976
fn00001972: // (misaligned)
00001974 FF86 .invalid <<F/6/7>>
00001976 2F07 move.l -[A7], D7
00001978 3D6E 0016 FF9C move.w [A6 - 0x64], [A6 + 0x16]
0000197E 2D6E 0012 FFB6 move.l [A6 - 0x4A], [A6 + 0x12]
00001984 2D6E 000E FF98 move.l [A6 - 0x68], [A6 + 0xE]
0000198A 422E FFA0 clr.b [A6 - 0x60]
0000198E 1D6E 000C FFA1 move.b [A6 - 0x5F], [A6 + 0xC]
00001994 7000 moveq.l D0, 0x00
00001996 2D40 FFA2 move.l [A6 - 0x5E], D0
0000199A 558F subq.l A7, 2
0000199C 486E FF86 pea.l [A6 - 0x7A]
000019A0 7000 moveq.l D0, 0x00
000019A2 1F00 move.b -[A7], D0
000019A4 4EBA FEF4 jsr [PC - 0x10C /* 0000189A */]
000019A8 3E1F move.w D7, [A7]+
000019AA 206E 0008 movea.l A0, [A6 + 0x8]
000019AE 30AE FF9E move.w [A0], [A6 - 0x62]
000019B2 3D47 0018 move.w [A6 + 0x18], D7
000019B6 2E2E FF82 move.l D7, [A6 - 0x7E]
000019BA 4E5E unlink A6
000019BC 205F movea.l A0, [A7]+
000019BE 4FEF 0010 lea.l A7, [A7 + 0x10]
000019C2 4ED0 jmp [A0]
000019C4 8748 4F50 pack -[A3], -[A0], 0x4F50
000019C8 454E chk.w D2, A6
000019CA 5246 addq.w D6, 1
000019CC 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000019CE-000019D2
fn000019CE:
000019CE 4E56 FFCC link A6, -0x0034
// end alternate branch 000019CE-000019D2
fn000019CE: // (misaligned)
000019D0 FFCC .invalid <<F/7/7>>
000019D2 2F07 move.l -[A7], D7
000019D4 3D6E 0014 FFE2 move.w [A6 - 0x1E], [A6 + 0x14]
000019DA 426E FFE6 clr.w [A6 - 0x1A]
000019DE 7000 moveq.l D0, 0x00
000019E0 2D40 FFDE move.l [A6 - 0x22], D0
000019E4 558F subq.l A7, 2
000019E6 486E FFCC pea.l [A6 - 0x34]
000019EA 7000 moveq.l D0, 0x00
000019EC 1F00 move.b -[A7], D0
000019EE 4EBA FE94 jsr [PC - 0x16C /* 00001884 */]
000019F2 3E1F move.w D7, [A7]+
000019F4 206E 0010 movea.l A0, [A6 + 0x10]
000019F8 30AE FFEC move.w [A0], [A6 - 0x14]
000019FC 206E 000C movea.l A0, [A6 + 0xC]
00001A00 20AE FFFC move.l [A0], [A6 - 0x4]
00001A04 206E 0008 movea.l A0, [A6 + 0x8]
00001A08 20AE FFE8 move.l [A0], [A6 - 0x18]
00001A0C 3D47 0016 move.w [A6 + 0x16], D7
00001A10 2E2E FFC8 move.l D7, [A6 - 0x38]
00001A14 4E5E unlink A6
00001A16 205F movea.l A0, [A7]+
00001A18 4FEF 000E lea.l A7, [A7 + 0xE]
00001A1C 4ED0 jmp [A0]
00001A1E 8947 4554 pack D4, D7, 0x4554
00001A22 5744 subq.w D4, 3
00001A24 494E chk.w D4, A6
00001A26 464F not.w A7
00001A28 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00001A2A-00001A2E
fn00001A2A:
00001A2A 4E56 FFE8 link A6, -0x0018
// end alternate branch 00001A2A-00001A2E
fn00001A2A: // (misaligned)
00001A2C FFE8 .invalid <<F/7/7>>
00001A2E 48E7 0F08 movem.l -[A7], D4,D5,D6,D7,A4
00001A32 182E 0008 move.b D4, [A6 + 0x8]
00001A36 286E 000A movea.l A4, [A6 + 0xA]
00001A3A 2A2E 000E move.l D5, [A6 + 0xE]
00001A3E 3C2E 0012 move.w D6, [A6 + 0x12]
00001A42 0C78 0600 015A cmpi.w [0x0000015A /* SysVersion */], 0x600
00001A48 6D34 blt +0x36 /* 00001A7E */
00001A4A 303C A89F move.w D0, 0xA89F
00001A4E A146 syscall GetTrapAddress, flags=1
00001A50 2D48 FFE8 move.l [A6 - 0x18], A0
00001A54 598F subq.l A7, 4
00001A56 3F3C A81A move.w -[A7], 0xA81A
00001A5A 7001 moveq.l D0, 0x01
00001A5C 1F00 move.b -[A7], D0
00001A5E 4EBA FDB2 jsr [PC - 0x24E /* 00001812 */]
00001A62 202E FFE8 move.l D0, [A6 - 0x18]
00001A66 B09F cmp.l D0, [A7]+
00001A68 6714 beq +0x16 /* 00001A7E */
00001A6A 558F subq.l A7, 2
00001A6C 3F06 move.w -[A7], D6
00001A6E 2F05 move.l -[A7], D5
00001A70 2F0C move.l -[A7], A4
00001A72 1F04 move.b -[A7], D4
00001A74 A81A syscall HOpenResFile
00001A76 3D5F 0014 move.w [A6 + 0x14], [A7]+
00001A7A 6000 00CC bra +0xCE /* 00001B48 */
label00001A7E:
00001A7E 3D7C FFFF FFEC move.w [A6 - 0x14], 0xFFFF
00001A84 558F subq.l A7, 2
00001A86 3F06 move.w -[A7], D6
00001A88 2F05 move.l -[A7], D5
00001A8A 2F0C move.l -[A7], A4
00001A8C 1F04 move.b -[A7], D4
00001A8E 486E FFEE pea.l [A6 - 0x12]
00001A92 4EBA FEDE jsr [PC - 0x122 /* 00001972 */]
00001A96 3E1F move.w D7, [A7]+
00001A98 660C bne +0xE /* 00001AA6 */
00001A9A 558F subq.l A7, 2
00001A9C 3F2E FFEE move.w -[A7], [A6 - 0x12]
00001AA0 4EBA FD84 jsr [PC - 0x27C /* 00001826 */]
00001AA4 3E1F move.w D7, [A7]+
label00001AA6:
00001AA6 4A47 tst.w D7
00001AA8 6708 beq +0xA /* 00001AB2 */
00001AAA 0C47 FFCF cmpi.w D7, 0xFFCF
00001AAE 6600 008E bne +0x90 /* 00001B3E */
label00001AB2:
00001AB2 558F subq.l A7, 2
00001AB4 7000 moveq.l D0, 0x00
00001AB6 2F00 move.l -[A7], D0
00001AB8 486E FFF0 pea.l [A6 - 0x10]
00001ABC 486E FFF2 pea.l [A6 - 0xE]
00001AC0 4EBA FE2C jsr [PC - 0x1D4 /* 000018EE */]
00001AC4 3E1F move.w D7, [A7]+
00001AC6 6676 bne +0x78 /* 00001B3E */
00001AC8 558F subq.l A7, 2
00001ACA 3F2E FFF0 move.w -[A7], [A6 - 0x10]
00001ACE 486E FFF6 pea.l [A6 - 0xA]
00001AD2 486E FFF8 pea.l [A6 - 0x8]
00001AD6 486E FFFC pea.l [A6 - 0x4]
00001ADA 4EBA FEF2 jsr [PC - 0x10E /* 000019CE */]
00001ADE 3E1F move.w D7, [A7]+
00001AE0 665C bne +0x5E /* 00001B3E */
00001AE2 558F subq.l A7, 2
00001AE4 7000 moveq.l D0, 0x00
00001AE6 2F00 move.l -[A7], D0
00001AE8 3F06 move.w -[A7], D6
00001AEA 2F05 move.l -[A7], D5
00001AEC 4EBA FE48 jsr [PC - 0x1B8 /* 00001936 */]
00001AF0 3E1F move.w D7, [A7]+
00001AF2 6616 bne +0x18 /* 00001B0A */
00001AF4 558F subq.l A7, 2
00001AF6 2F0C move.l -[A7], A4
00001AF8 7000 moveq.l D0, 0x00
00001AFA 3F00 move.w -[A7], D0
00001AFC 1F04 move.b -[A7], D4
00001AFE A9C4 syscall OpenRFPerm
00001B00 3D5F FFEC move.w [A6 - 0x14], [A7]+
00001B04 558F subq.l A7, 2
00001B06 A9AF syscall ResError
00001B08 3E1F move.w D7, [A7]+
label00001B0A:
00001B0A 7002 moveq.l D0, 0x02
00001B0C B0AE FFF8 cmp.l D0, [A6 - 0x8]
00001B10 6616 bne +0x18 /* 00001B28 */
00001B12 558F subq.l A7, 2
00001B14 7000 moveq.l D0, 0x00
00001B16 2F00 move.l -[A7], D0
00001B18 3F2E FFF0 move.w -[A7], [A6 - 0x10]
00001B1C 2F2E FFF2 move.l -[A7], [A6 - 0xE]
00001B20 4EBA FE14 jsr [PC - 0x1EC /* 00001936 */]
00001B24 381F move.w D4, [A7]+
00001B26 6010 bra +0x12 /* 00001B38 */
label00001B28:
00001B28 558F subq.l A7, 2
00001B2A 7000 moveq.l D0, 0x00
00001B2C 2F00 move.l -[A7], D0
00001B2E 3F2E FFF0 move.w -[A7], [A6 - 0x10]
00001B32 4EBA FD0C jsr [PC - 0x2F4 /* 00001840 */]
00001B36 381F move.w D4, [A7]+
label00001B38:
00001B38 4A47 tst.w D7
00001B3A 6602 bne +0x4 /* 00001B3E */
00001B3C 3E04 move.w D7, D4
label00001B3E:
00001B3E 31C7 0A60 move.w [0x00000A60 /* ResErr */], D7
00001B42 3D6E FFEC 0014 move.w [A6 + 0x14], [A6 - 0x14]
label00001B48:
00001B48 4CEE 10F0 FFD4 movem.l D4,D5,D6,D7,A4, [A6 - 0x2C]
00001B4E 4E5E unlink A6
00001B50 205F movea.l A0, [A7]+
00001B52 4FEF 000C lea.l A7, [A7 + 0xC]
00001B56 4ED0 jmp [A0]
00001B58 8C48 or.w D6, A0
00001B5A 4F50 chk.w D7, [A0]
00001B5C 454E chk.w D2, A6
00001B5E 5245 addq.w D5, 1
00001B60 5346 subq.w D6, 1
00001B62 494C chk.w D4, A4
00001B64 4500 .invalid 2, D0 // invalid opcode 4 with b == 4
00001B66 0000 206F ori.b D0, 0x6F /* 'o' */
// begin alternate branch 00001B68-00001B6E
fn00001B68:
00001B68 206F 0004 movea.l A0, [A7 + 0x4]
00001B6C 2050 movea.l A0, [A0]
// end alternate branch 00001B68-00001B6E
fn00001B68: // (misaligned)
00001B6A 0004 2050 ori.b D4, 0x50 /* 'P' */
00001B6E A9E1 syscall HandToHand
00001B70 226F 0004 movea.l A1, [A7 + 0x4]
00001B74 2288 move.l [A1], A0
00001B76 3F40 0008 move.w [A7 + 0x8], D0
00001B7A 2E9F move.l [A7], [A7]+
00001B7C 4E75 rts